Skip to content

fix: custom headers overwrite the auth header #763

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sidati
Copy link

@sidati sidati commented Nov 1, 2022

Hey 👋
If user set an audience aud property or provide a customs headers, those headers are overwriting the Authorization.

auth = new GoTrue({
  APIUrl: 'https://<your domain name>/.netlify/identity',
  audience: 'SOME-CONTEXT',
  setCookie: false,
});

Have a great day 😄

@sidati sidati changed the title fix: cutom headers overwrite the auth header fix: custom headers overwrite the auth header Aug 14, 2024
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