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
-
Beta Was this translation helpful? Give feedback.
Answered by
chpapa
Nov 28, 2023
Replies: 1 comment 5 replies
-
@dominikusbrian any error or messages shown in your Javascript Console? (On Chrome, click menu "View" -> "Developer" -> "Javascript Console"
Do you meant this repo? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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:
Authorized Redirect URIs
redirectURI
in your code.If the URL is different, e.g.
http://127.0.0.1
vshttp://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 uselocalhost:4000
as URL of all 3 above, would it works? If yes it is probably due to the…