OAuth2 integration

You need Apache Openmeetings version 3.0 to apply this guide!

You can manage various OAuth2 servers by opening "Administration => OAuth2". There are already created servers like Facebook or Google. You can use them as example or in production. To add your own servers you need to get their documentation to set necessary attributes.

Attributes

  • Name - displayed in the login dialog text
  • client_id and client_secret - credentials which you got from your oauth2 server.
  • Redirect uri - put this value into application settings in the oauth2 server.
  • Request key URL - an URL which will be used to request access key.
  • Request token URL - an URL which will be used to request access token.
  • Request token attributes - attributes for access token request.
  • Request info URL - an URL which will be used to request authentication attributes.
  • Login param name - login key name to get value from info response.
  • Email param name - email key name to get value from info response.
  • Firstname param name - firstname key name to get value from info response.
  • Lastname param name - lastname key name to get value from info response.

Request attributes (request key url, request token url, request token attributes, request info url) may contain next variables as a part:

  • {$client_id}
  • {$client_secret}
  • {$redirect_uri}
  • {$code}
  • {$access_token}