mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Updated B2C (markdown)
parent
e8b56551e7
commit
e149078916
1 changed files with 17 additions and 3 deletions
20
B2C.md
20
B2C.md
|
|
@ -4,8 +4,22 @@
|
|||
- B2C feature added: https://github.com/wekan/wekan/commit/93be112a9454c894c1ce3146ed377e6a6aeca64a
|
||||
- Similar like [ADFS](ADFS), but `email` is first of array `userinfo[emails]`
|
||||
|
||||
## Docker
|
||||
|
||||
https://github.com/wekan/wekan/blob/main/docker-compose.yml
|
||||
|
||||
```
|
||||
OAUTH2_ENABLED=true
|
||||
OAUTH2_B2C_ENABLED=true
|
||||
OAUTH2_USERNAME_MAP=sub
|
||||
- OAUTH2_ENABLED=true
|
||||
- OAUTH2_B2C_ENABLED=true
|
||||
- OAUTH2_USERNAME_MAP=sub
|
||||
- OAUTH2_REQUEST_PERMISSIONS=openid email profile
|
||||
- OAUTH2_CLIENT_ID=xxxxxxxx
|
||||
- OAUTH2_SECRET=xxxxxxx
|
||||
- OAUTH2_SERVER_URL=https://B2C_TENANT_NAME.b2clogin.com/B2C_TENANT_NAME.onmicrosoft.com/B2C_POLICY_NAME
|
||||
- OAUTH2_AUTH_ENDPOINT=/oauth2/v2.0/authorize
|
||||
- OAUTH2_TOKEN_ENDPOINT=/oauth2/v2.0/token
|
||||
- OAUTH2_USERNAME_MAP=sub
|
||||
- OAUTH2_EMAIL_MAP=email
|
||||
- OAUTH2_FULLNAME_MAP=name
|
||||
- OAUTH2_ID_MAP=sub
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue