Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Security & Compliance

Security & Compliance

OIDC Login Client with Login and Welcome Pages

When a user visits the webhook, it serves a login page, exchanges the OIDC token, fetches user info and shows a welcome page.

What it does

In this set, you have to retrieve from your identity provider : - auth url - token url - userinfo url - the client id you created for this flow - scopes to use, at least "openid" scope if you do not want to use PKCE, you have to fill : - client_secret - redirect_uri (which is the webhook uri)

The steps

  1. Webhook
  2. Code
  3. user info
  4. send back login page
  5. IF token is present
  6. Welcome page
  7. send back welcome page
  8. IF user info ok
  9. login form
  10. Set variables : auth, token, userinfo, client id, scope
  11. IF we have code in URI and not in PKCE mode
  12. get access_token from /token endpoint with code

Similar automations