Token Enrichment Authorization Pattern
    • 01 Oct 2024
    • 1 Minute to read
    • Dark
      Light
    • PDF

    Token Enrichment Authorization Pattern

    • Dark
      Light
    • PDF

    Article summary

    With the Token Enrichment Authorization Pattern, PlainID Authorizers dynamically enrich user authorizations by calculating custom entitlements or claims based on policies, which are then served to consuming services.

    IDP Authorizers, help you seamlessly integrate your existing IDP systems with the Platform's dynamic authorization calculation. This integration enables you to define fine-grained authorization policies, enforce access rules, and manage user privileges across your entire IDP ecosystem by enriching user claims during the user's authentication journey.

    The IDP Authorizer integrates the IDP authentication flow with the PlainID Token Enrichment Service, establishing a connection and initiating a request for policy-based, real-time calculated user claims by PlainID’s PDP, which are then included in the user’s token during generation by the IDP.

    This process allows applications and services that rely on user token claims for access management to seamlessly benefit from the dynamic enrichment of claims provided by PlainID during the authentication flow.

    Use Example

    image.png

    Explanation

    1. User Authenticates to the IDP.
    2. IDP calls out to PlainID to request which claims the user is authorized to have.
    3. PlainID real time calculated claims added by the IDP and enriches the user token.
    4. IDP signs the JWT and it is provided to the application.

    An additional enrichment flow supported by other PlainID Authorizers can leverage PlainID's dynamic authorization capabilities. These authorizers calculate entitlements based on policies to enrich service API requests, which are then used by customer services during internal authorization enforcement.

    Token Enrichment Authorizers

    PlainID offers the following Token Enrichment Authorizers:

    • Okta
    • Auth0
    • Entra ID B2C
    • Ping
    • Forgerock

    Contact PlainID for more on these Authorizers and visit our Integration Hub for more information on each of our PlainID Authorizers.


    Was this article helpful?