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

Refresh and Access token resolve handler #279

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Azridum
Copy link

@Azridum Azridum commented Mar 21, 2025

So we use this library but now we want to store the tokens in HttpOnly cookies. Like this when we want to get a new access token with the refresh token we have to get the refresh token from the cookie and our client can't include it in the request body.

The default functionality is the same as before and I have included a new handler for the cookie too. I have included some unit tests too.

@Azridum Azridum changed the title Refresh token resolve handler Refresh and Access token resolve handler Mar 26, 2025
@Azridum Azridum force-pushed the refresh-token-resolver branch from b612e84 to 40c1b46 Compare March 26, 2025 13:05
BearerAuth function changed to AccessTokenResolveHandler

removed unused dep

setter
@Azridum Azridum force-pushed the refresh-token-resolver branch from 40c1b46 to d92fb72 Compare March 26, 2025 13:16
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.

1 participant