OpenID Connect Provider

Last modified by Admin on 2017/10/16 00:06

openid_connect_16x16.pngAllow XWiki to act as an OpenID Connect provider
Recommended
TypeJAR
Developed by

Thomas Mortagne

Active Installs23
Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

Description

Allow XWiki to act as an OpenID Connect provider.

See also OpenID Connect Authenticator.

oidc_provider_consent.png

Release notes can be found on OpenID Connect project page.

Endpoints

Provider metadata

path: /oidc/

Authorization

path: /oidc/authorization

Entry point to authenticate a user and authorize the client to access the provider.

Supported methods:

Token

path: /oidc/token

Supported grand types:

  • authorization_code: generate an access token from the the authorization code provided by the authorization endpoint

UserInfo

path: /oidc/userinfo

Return informations about the user.

Supported claims:

  • core OpenID Connect claims
  • xwiki_groups: the references of the groups of the user
  • xwiki_user_<fieldname>: pattern used to access any field of the user document (search in the XWikiUsers object and then in the whole user document)

Customization

Templates

The provider use one template to ask the user for his consent. This template can be overwritten trough the standard template system.

The name of the template is oidc/provider/consent.vm.

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Dependencies

Dependencies for this extension (org.xwiki.contrib.oidc:oidc-provider 1.6.3):

  • org.xwiki.platform:xwiki-platform-oldcore 7.4.4
  • org.xwiki.platform:xwiki-platform-container-servlet 7.4.4
  • org.xwiki.contrib.oidc:oidc-api 1.6.3
  • com.nimbusds:oauth2-oidc-sdk 5.10-xwiki
  • org.xwiki.platform:xwiki-platform-instance 7.4.4
Tags:
Created by Thomas Mortagne on 2016/05/27 16:30
    

Get Connected