Skip to content

Conversation

@alukach
Copy link
Member

@alukach alukach commented Mar 14, 2025

When using lifespan handlers, errors thrown when initializing middleware can interfere with lifespan handling.

This PR:

  1. Initializes the JWKS client in a lazy manner
  2. Reworks the default state key for token payload from user to payload
  3. Accelerates test speed by persisting fixtures across tests

@alukach alukach force-pushed the refactor/auth-middleware branch from e7df7c9 to 3122589 Compare March 14, 2025 05:18
@alukach alukach merged commit 4c9f4f9 into main Mar 14, 2025
2 checks passed
@alukach alukach deleted the refactor/auth-middleware branch March 14, 2025 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants