DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:oauthazure

oauthazure Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

plugin Azure Service for use with the oAuth Plugin

Last updated on
2023-04-20
Provides
Action
Repository
Source
Requires
oauth

Tagged with authentication, azure, oauth

Installation

:!: External requirements: This plugin requires the oAuth Plugin.

Install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Configuration

Create a new Application in your Azure account, then configure:

  • client ID (Application (client) ID, de Anwendungs-ID (Client))
  • client secret (Value NOT Secret ID, de Wert NICHT Geheime ID)
  • tenant (Directory (tenant) ID, de Verzeichnis-ID (Mandant))

By default, the plugin will map roles found in the JWT auth token to groups. If you want to use the user's real groups in ACLs you need to enable the fetchgroups config. The plugin will request two additional permissions on top of the usual oAuth scopes: User.Read and GroupMember.Read.All.

Assign the group “azure” to the users, then you can log in directly with it.

For further setup see oauth page.

All users authorized by this plugin are added to automatic azure group by oauth. You can use this in your ACL configuration.

Development

Acknowledgements

The code has been originally based on the oauthkeycloak plugin.

Change Log

plugin/oauthazure.txt · Last modified: 2024-02-08 09:04 by LMS23

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki