feat: new login experience (#2139)
* feat: multiple auth instances * fix: auth setup + strategy initialization * feat: admin auth - add strategy * feat: redirect on login - group setting * feat: oauth2 generic - props definitions * feat: new login UI (wip) * feat: new login UI (wip) * feat: admin security login settings * feat: tabset editor indicators + print view improvements * fix: code styling
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
key: local
|
||||
title: Local
|
||||
title: Local Database
|
||||
description: Built-in authentication for Wiki.js
|
||||
author: requarks.io
|
||||
logo: https://static.requarks.io/logo/wikijs.svg
|
||||
|
@@ -5,9 +5,54 @@ author: requarks.io
|
||||
logo: https://static.requarks.io/logo/oauth2.svg
|
||||
color: grey darken-4
|
||||
website: https://oauth.net/2/
|
||||
isAvailable: true
|
||||
useForm: false
|
||||
props:
|
||||
clientId: String
|
||||
clientSecret: String
|
||||
authorizationURL: String
|
||||
tokenURL: String
|
||||
clientId:
|
||||
type: String
|
||||
title: Client ID
|
||||
hint: Application Client ID
|
||||
order: 1
|
||||
clientSecret:
|
||||
type: String
|
||||
title: Client Secret
|
||||
hint: Application Client Secret
|
||||
order: 2
|
||||
authorizationURL:
|
||||
type: String
|
||||
title: Authorization Endpoint URL
|
||||
hint: The full URL to the authorization endpoint, used to get an authorization code.
|
||||
order: 3
|
||||
tokenURL:
|
||||
type: String
|
||||
title: Token Endpoint URL
|
||||
hint: The full URL to the token endpoint, used to get an access token.
|
||||
order: 4
|
||||
mappingUID:
|
||||
title: Unique ID Field Mapping
|
||||
type: String
|
||||
default: 'id'
|
||||
hint: The field storing the user unique identifier, e.g. "id" or "_id".
|
||||
maxWidth: 500
|
||||
order: 20
|
||||
mappingEmail:
|
||||
title: Email Field Mapping
|
||||
type: String
|
||||
default: 'email'
|
||||
hint: The field storing the user email, e.g. "email" or "mail".
|
||||
maxWidth: 500
|
||||
order: 21
|
||||
mappingDisplayName:
|
||||
title: Display Name Field Mapping
|
||||
type: String
|
||||
default: 'name'
|
||||
hint: The field storing the user display name, e.g. "name", "displayName" or "username".
|
||||
maxWidth: 500
|
||||
order: 22
|
||||
mappingPicture:
|
||||
title: Avatar Picture Field Mapping
|
||||
type: String
|
||||
default: 'pictureUrl'
|
||||
hint: The field storing the user avatar picture, e.g. "pictureUrl" or "avatarUrl".
|
||||
maxWidth: 500
|
||||
order: 23
|
||||
|
Reference in New Issue
Block a user