Created
June 22, 2016 18:31
-
-
Save jonty-comp/c91fb0acbb30c4e2e8700e607b6ec8d5 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; |
In witch file we put this code?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for the settings template,
I have tried to use it but it does not work. After poking around, I guess you have made a 'custom' adapter for the plugin to use with the settings. Any chance I could get a copy of the files needed for making the plugin work with the settings template you show?
Best regards
Kristian