Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article, we will demonstrate how to configure OpenID on Joget using the OpenID Connect Manager Plugin.

  1. Create an Auth0 account here.
  2. Use whatever tenant you have available, in my case it is "dev-hprpdb0led4su3pm", but yours will be different.
  3. From the dashboard, go to User Management > Users > Create User, and create a new user.
  4. Then, based on Okta documentation, we will need to go to the discovery URL to extract the necessary information. For In my case, it is https://dev-hprpdb0led4su3pm.jp.auth0.com/.well-known/openid-configuration.
  5. You can use a JSON beautifying tool reorganize the JSON file from the previous step. In our case, we used this web tool.
  6. From the discovery URL, copy the relevant values and paste them into the respective fields in Joget OpenID Connect Manager Plugin. First, set the issuer to Custom. Please refer to Figure 1 & Figure 2.
    1. issuer → Issuer URL
    2. authorization_endpoint → Authorization Token Endpoint
    3. token_endpoint → Token Endpoint
    4. userinfo_endpoint → User Info Endpoint
    5. jwks_uri → Json Web Key Set
    6. "code" → Response Types Supported
    7. "openid profile email" → Scope
  7. From the Application, copy the relevant values and paste them into the respective fields in Joget OpenID Connect Manager Plugin. Please refer to Figure 1 & Figure 3.
    1. Client ID → Client ID
    2. Client Secret → Client Secret
  8. From the Joget OpenID Connect Manager Plugin, copy the relevant values and paste them into the respective fields in the Application. Please refer to Figure 1 & Figure 4.
    1. Callback URL → Allow Callback URLs
  9. After setting up the OpenID Connect Provider Details, you will have to set up your SMTP, for detailed instructions on configuring the Email Tool, click here.
  10. If you have configured the settings correctly, you should be met with the pages seen in Figure 5 & Figure 6:

...

Figure 1: Plugin configuration


Image Removedimage-2023-8-3_15-1-44.pngImage Added

Figure 2: Discovery URL's Relevant Values


Image Removedimage-2023-8-3_16-10-33.pngImage Added

Figure 3: Application


Image RemovedImage Added

Figure 4: Callback URLs

...