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

Fixes with-supertokens example #65267

Merged
merged 2 commits into from
May 2, 2024
Merged

Fixes with-supertokens example #65267

merged 2 commits into from
May 2, 2024

Conversation

rishabhpoddar
Copy link
Contributor

This PR fixes how a protected API is called once the user is logged in, in the with-supertokens example app.

@rishabhpoddar rishabhpoddar requested review from a team as code owners May 2, 2024 09:48
@rishabhpoddar rishabhpoddar requested review from manovotny and delbaoliveira and removed request for a team May 2, 2024 09:48
@ijjk ijjk added the examples Issue/PR related to examples label May 2, 2024
@samcx
Copy link
Member

samcx commented May 2, 2024

@rishabhpoddar Can you further clarify on this in the description (e.g., is it because it's redundant?)?

@rishabhpoddar
Copy link
Contributor Author

Oh yea, sorry. It is redundant indeed, cause we add interceptors to XHR / fetch which add the access token to the request automatically + manage their refreshing based on the response from the the API.

@samcx samcx enabled auto-merge (squash) May 2, 2024 19:16
@samcx samcx merged commit 91444df into vercel:canary May 2, 2024
34 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants