Skip to content

Fetch user data from user-info endpoint for middleware #1231

@eleftherias

Description

@eleftherias

For the auth and audit middleware, we look for certain user claims in the JWT, like sub and name to get the user's identity.

We should add a call to the /user-info endpoint if the required claims are not populated and get the claims from there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions