Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch JWKS from authentication provider #1

Closed
ilbertt opened this issue Apr 3, 2024 · 0 comments
Closed

Fetch JWKS from authentication provider #1

ilbertt opened this issue Apr 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ilbertt
Copy link
Owner

ilbertt commented Apr 3, 2024

On the canister, we have to periodically fetch the JSON Web Key Sets (JWKS) from Auth0 using the HTTPS outcalls and Timers features.

Right now, the JWKS are fetched at build time by the build-canister.sh script, stored in data/jwks.json and imported in the canister as raw bytes at compile time (source).

Fetching the JWKS at runtime is needed because JWKs on Auth0 may rotate.

@ilbertt ilbertt added the enhancement New feature or request label Apr 3, 2024
@ilbertt ilbertt self-assigned this Apr 3, 2024
@ilbertt ilbertt closed this as completed in 43bd8d1 Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant