Skip to content

Login button in React Test deployment is not responsive, no redirect occur, no error shown. #3507

Answered by chpapa
dominikusbrian asked this question in Get Help
Discussion options

You must be logged in to vote

@dominikusbrian you should not need the hook to work around the CORS header.

When you add the Authorized Redirect URIs to Authgear Portal, it shall automatically add the URL to the CORS allow list of Authgear.

Please note that these URL must be exactly the same:

  1. The URL on the browser location bar you saw.
  2. The Authorized Redirect URIs
  3. The redirectURI in your code.

If the URL is different, e.g. http://127.0.0.1 vs http://localhost, even both URL is the same, due to how browser security works, it would still be invalid.

I saw that in your screenshots you replace something with localhost, if you only use localhost:4000 as URL of all 3 above, would it works? If yes it is probably due to the…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@dominikusbrian
Comment options

@dominikusbrian
Comment options

@dominikusbrian
Comment options

@chpapa
Comment options

Answer selected by dominikusbrian
@dominikusbrian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants