Skip to content

Add token web hook for all grants types  #3244

@fehrnah

Description

@fehrnah

Preflight checklist

Describe your problem

Currently there exists a web hooks for refresh_token grants, but customizing other grant types is either not possible or not easy.

For example, customizing access_code tokens can be done in the consent endpoint, but customizing client_credentials is not possible.

Describe your ideal solution

Add access_token, jwt_profile and client_credentials web hooks working in a similar way to the existing refresh_token web hook.

Workarounds or alternatives

#1748 Would allow limited customization of all claims, not allowing more dynamic claims.
#1383 Is about setting static claims to client_credential tokens

Version

2.0

Additional Context

I was unsure if this was big enough to need a design document, If it does, pleas close this issue and I will remake it with a design document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions