mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 23:54:23 -05:00
docs: fix azure active directory docs
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
979f89af15
commit
35f8718b4d
1 changed files with 4 additions and 4 deletions
|
@ -27,15 +27,15 @@
|
||||||
9. Pass in your credentials as environment variables down below.
|
9. Pass in your credentials as environment variables down below.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
CMD_OAUTH2_USER_PROFILE_URL=https://your.azureprofileurl.com/auth/oauth2/callback
|
CMD_OAUTH2_USER_PROFILE_URL=graph.microsoft.com/v1.0/me
|
||||||
CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=yourPrincipalName
|
CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=userPrincipalName
|
||||||
CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR=displayName
|
CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR=displayName
|
||||||
CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=email
|
CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=mail
|
||||||
CMD_OAUTH2_USER_PROFILE_ID_ATTR=id
|
CMD_OAUTH2_USER_PROFILE_ID_ATTR=id
|
||||||
CMD_OAUTH2_TOKEN_URL=https://login.microsoftonline.com/**DIRECTORY-ID**/oauth2/v2.0/token
|
CMD_OAUTH2_TOKEN_URL=https://login.microsoftonline.com/**DIRECTORY-ID**/oauth2/v2.0/token
|
||||||
CMD_OAUTH2_AUTHORIZATION_URL=https://login.microsoftonline.com/**DIRECTORY-ID**/oauth2/v2.0/authorize
|
CMD_OAUTH2_AUTHORIZATION_URL=https://login.microsoftonline.com/**DIRECTORY-ID**/oauth2/v2.0/authorize
|
||||||
CMD_OAUTH2_CLIENT_ID=APPLICATION-ID
|
CMD_OAUTH2_CLIENT_ID=APPLICATION-ID
|
||||||
CMD_OAUTH2_CLIENT_SECRET=CLIENT-SECRET
|
CMD_OAUTH2_CLIENT_SECRET=CLIENT-SECRET
|
||||||
CMD_OAUTH2_PROVIDERNAME=AzureAD
|
CMD_OAUTH2_PROVIDERNAME=AzureAD
|
||||||
CMD_OAUTH2_SCOPE=openid_offline_access
|
CMD_OAUTH2_SCOPE=openid offline_access email profile User.Read
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue