Skip to content

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