Invision Community SSO integration using Drupal as OAuth / OpenID Connect Provider
The Drupal OAuth/OIDC Server module enables Single Sign-On i.e. SSO between the
Drupal site and any Client application that supports the OAuth or OpenID Connect protocol. Here, we go through the
steps to connect the module with the Invision Community. In this Integration of Drupal and Invision Community,
Drupal acts as an Identity Provider i.e. users will be logging into Invision Community using their Drupal
Navigate to the Settings -> Login & Registration tab from the left navigation panel.
Click on the Create New button, then select Other OAuth 2.0 and click on the
Enter an Application Name under the Name text field and then copy the Redirect
URL value from the Application Settings section.
Configure Drupal as an OAuth Server:
Note: Please ensure that the Drupal site is hosted on a server
accessible from the internet, as Invision Community won't be able to reach the Drupal endpoints if the Drupal site
is running on localhost.
On the Drupal site, go to the Configuration -> miniOrange OAuth server configuration -> OAuth
Click on the Add Client button.
Enter the Application Name under the Application Name text field.
Paste the copied Callback URL under the Callback/Redirect URL text field.
Multiple Callback URLs can be added by clicking on the Add More button next to the text field.
Click on the Save button and copy the Client ID and Client
Integrating Invision Community with Drupal:
Navigate to the Invision dashboard.
Select the Grant Type as Authorization Code.
Paste the copied Client ID under the Client Identifier text field and Client Secret under the Client Secret text field.
Add the Scope and Endpoints as specified in the table below (You can also get the same from the Scope & Endpoints section of the Drupal site -> Configuration -> miniOrange OAuth server configuration -> OAuth Client):
Scopes to request
profile openid email
Authorization Endpoint for AdminCP & Reauthorizations
Use the same endpoint as normal logins
User Information Endpoint
Under the User ID Parameter enter the Unique identifier of the user like email or name.
Please keep the remaining fields default if not sure of the configurations. Scroll down, and click on the Save button.
You have successfully configured Invision Community as an OAuth Client and Drupal as an OAuth server.
Let’s see how this works:
Open a new window/private browser and navigate to the login page of the Invision Community website.
Click on the Login with Drupal button.
Browser will be redirected to the Drupal site login page. Enter the Drupal credentials and click on the Log in button.
On successful authentication, browser will be redirected back with successful login into the Invision Community.
You have successfully performed the SSO between Invision Community and Drupal!
If you face any issues during the configuration or if you want some additional features,
please contact us at firstname.lastname@example.org.
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using this link.
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include Two Factor Authentication - 2FA, Website Security, REST & JSON API Authentication, User Provisioning and Sync.
If you dont hear from us within 24 hours, please feel free to send a follow up email to email@example.com
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.