Skip to content

Make sure the authenticator has accessToken, refreshToken, user data #76

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

Open
check-cafe opened this issue Nov 9, 2024 · 0 comments
Open
Assignees

Comments

@check-cafe
Copy link
Contributor

This will fix race conditions in some places.

// We should only rely on this authenticator
const authenticated = await authenticator.isAuthenticated(request);

// TODO: This might cause race conditions
const { accessToken, headers } = await getAccessToken(request);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo: API
Development

No branches or pull requests

6 participants