Invision OAuth Client

Last updated on
26 June 2026

This document will guide you through configuring Invision Community as an OAuth Client and Drupal as an OAuth Server. Using the miniOrange OAuth Server module, you can enable seamless Single Sign-On (SSO) between Invision Community and your Drupal site, allowing users to log in to Invision Community using their Drupal credentials. This module is compatible with Drupal 7, 8, 9, 10, and 11.

Check out the Installation steps:

Installation Steps

Configure an Application in Invision Community:

  • Login to the Invision Community using your administrator credentials.
  • Navigate to the Login & Registration tab under the Settings section of the left navigation panel. Click on the Create New button.

    Invision Community OAuth Server Login Register Tab

  • Now, select Other OAuth 2.0 and click on the Continue button.

    Invision Community OAuth Server Select OAuth 2.0

  • Enter an Application Name under the Name text field, and then copy the Redirect URL value from under the Application Settings section.

    Invision Community OAuth Copy Callback URL

Configure Drupal as OAuth Server:

  • Navigate to the Drupal site and go to the Configuration tab from the top navigation bar.
  • Now, select the miniOrange OAuth Server Configuration.
  • Click on the Add client button.

Drupal OAuth Server add client

  • Enter a name for your application in the Application Name field.
  • Paste the Callback/Redirect URL into the Redirect URLs field in the Drupal OAuth Server module.
  • To add multiple Callback URLs, click the Add button next to the Redirect URLs field and enter the additional URLs.
  • In the Grant Types section, enable the OAuth flow(s) required by your application. For a standard Authorization Code flow, enable Authorization Code.
  • Optionally, enable additional grant types such as Authorization Code + PKCE, Refresh Token, Client Credentials, Resource Owner Password, or Implicit, based on your application's requirements.
  • Under Application Status, ensure that the Enable this OAuth client option is turned on.
  • Click the Create client button to save the configuration.

Drupal OAuth Server add application

Configure Invision Community as OAuth Client:

  • In the Drupal OAuth Server module, navigate to the Configure Applications section and copy the Client ID and Client Secret. Keep them handy for later use.

drupal-oauth-server-cleint-id-and-secret

  • Navigate to the Invision dashboard.
  • Select the Grant Type as Authorization Code.
  • Paste the copied Client ID under the Client Identifier text field.

    Invision Community OAuth Paste Client ID

  • Next, paste the copied Client Secret into the Client Secret text field in the Invision Community dashboard.

    Invision Community OAuth Server Paste Client Secret

  • Navigate to the Scopes tab of the Drupal module.
  • Enable the following scopes by toggling the Allow option:
    • openid
    • profile
    • email
  • Click Save client to save the scope configuration.
  • After enabling the required scopes and saving the configuration, copy the Scope String displayed at the top of the Scopes tab and paste it into Invision, if required.

Drupal OAuth Server add scope

  • Paste the copied Scope under the Scopes to request text field in the Invision Community dashboard.

Invision Community OAuth Server Paste Scope

  • Navigate to the App Registration tab and locate the OAuth / OIDC endpoints section.
  • Copy the Authorization Endpoint, Token Endpoint, and UserInfo Endpoint by clicking the copy icon next to each endpoint.

drupal-oauth-server-copy-authorization-endpoint

  • In the Invision Community dashboard, paste the copied Authorize Endpoint into the Authorization Endpoint text field.

Invision Community OAuth Server Paste Authorization Endpoint

  • Then, paste the copied Access Token Endpoint into the Token Endpoint text field in the Invision Community dashboard.

    Invision Community OAuth Server Paste Access Token Endpoint

  • Similarly, paste the copied User Info Endpoint into the User Information Endpoint text field.

    Invision Community OAuth Server Select OAuth 2.0

  • Under the User ID Parameter, enter the Unique identifier of the user, like email or username.

    Invision Community OAuth Server Enter Unique Identifier

  • Scroll down, and click on the Save button.

    Invision Community OAuth Server Save Configurations

You have successfully configured Invision Community as OAuth Client and Drupal as 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.

    Invision Community OAuth Server Click on Login with Drupal

  • You will get redirected to your Drupal site login page where you will enter your Drupal credentials and click on the Log in button.

    Invision Community OAuth Server Enter Drupal Creds

  • On successful authentication, you will get redirected back and logged into the Invision Community.

Contact our 24*7 support team

Feel free to reach out to our Drupal experts if you need any sort of assistance in setting up Drupal OAuth Server ( OAuth / OIDC Provider) - Single Sign On ( SSO ) on your Drupal site.

 Get In Touch With Us Join Our Slack Channel

back to top Back to top

Help improve this page

Page status: No known problems

You can: