bcgov / cas-obps

0 stars 0 forks source link

Make JWT available on the backend #269

Open pbastia opened 1 month ago

pbastia commented 1 month ago

Description:

As a developer, I want the backend to have access to the entire JWT claims, so that I can perform additional security and access validations.

This will allow the backend (and existing middlewares) to also validate roles and implement RBAC

Acceptance Criteria:

Given When Then

Development Checklist:

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

Notes:

Dependencies

Sepehr-Sobhani commented 1 month ago

To consider when implementing this: https://python-keycloak.readthedocs.io/en/latest/modules/openid_client.html

dleard commented 3 weeks ago

@pbastia @Sepehr-Sobhani Is this related to or potentially part of #268?