Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Web Scraping & Research

Web Scraping & Research

OIDC client workflow

When an API call/webhook arrives, it collects information from the web.

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