-
-
Save DesruX/3234cdc5ba74c5d6ab17583a5e5e0e7e to your computer and use it in GitHub Desktop.
configuring dokuwiki oauth plugin for Azure AD OpenID connect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$conf['plugin']['oauth']['custom-key'] = 'your-application-key'; | |
$conf['plugin']['oauth']['custom-secret'] = 'your-application-secret'; | |
$conf['plugin']['oauth']['custom-authurl'] = 'https://login.microsoftonline.com/your-tenant-id/oauth2/authorize'; | |
$conf['plugin']['oauth']['custom-tokenurl'] = 'https://login.microsoftonline.com/your-tenant-id/oauth2/token'; | |
$conf['plugin']['oauth']['custom-meurl'] = 'https://login.windows.net/your-tenant-id/openid/userinfo'; | |
$conf['plugin']['oauth']['custom-mapping'] = 'user=upn name=name mail=upn'; | |
$conf['plugin']['oauth']['custom-scope'] = 'openid'; | |
$conf['plugin']['oauth']['singleService'] = 'Custom'; | |
$conf['plugin']['oauth']['register-login'] = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment