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

Login Doesn't work on mobile safari #494

Open
ygrishajev opened this issue Nov 23, 2024 · 1 comment
Open

Login Doesn't work on mobile safari #494

ygrishajev opened this issue Nov 23, 2024 · 1 comment

Comments

@ygrishajev
Copy link
Contributor

Steps to reproduce:

  1. use iPhone
  2. open safari
  3. go to https://console.akash.network
  4. open main menu
  5. tap login

EXR: auth0 is opened
ACT: 400 error message is shown

image

@asayadi
Copy link

asayadi commented Nov 29, 2024

I have noticed that if you refresh the page, after getting the error, it will then bring you to the sign in page. At that point, for me, it allows me to sign in. It seems to just give the error when you initially click the sign in button on the main menu.

Some thoughts on what the problem could be:

  • Auth0 might reject the initial request because the redirect URL doesn’t match what's configured in the Auth0 settings.
    When refreshing, the Safari might be including the correct context or session tokens in this subsequent request.

  • Cookies or session tokens might not be properly set or sent on the initial load.

  • During the first click, the state parameter might not be generated or correctly stored. The refresh process regenerates it or retrieves it from local storage, ensuring that Auth0 gets the correct state.

I am interested in working on this issue and contributing to the Akash project

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

No branches or pull requests

2 participants