-
Notifications
You must be signed in to change notification settings - Fork 20
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
422 error on login with github #22
Comments
@maximepvrt, could you provide more information on this issue? |
screen-20230722-220729.2.mp4hello, I encountered an issue while trying to connect to github using oauth through the brave mobile browser. whenever I attempt to log in, the browser redirects me to chrome for the authentication process. however, even after successful authentication, i receive a 422 error. Steps to reproduce:
Expected Behavior: Additional Information: Best, |
The errors comes from nuxters/server/routes/oauth/github.ts Lines 10 to 16 in 373768a
|
Thank you for your response @atinux and for identifying the source of the issue. Regarding the behavior of the mobile browser, I have noticed that when I click on the "Sign in with GitHub" button from both the Chrome and Brave browsers on my mobile device, I am prompted to choose an application for the authentication process. Could you kindly shed some light on why this app selection prompt is appearing? Is there a specific reason for this behavior, and is there a way to configure it so that the authentication process can be streamlined without the need for manual app selection? |
https://github.com/nuxt/nuxters/blob/main/components/home/HomeCard.vue#L92 Why not use the "to" attribute of the UButton ? currently it generate a |
Nice idea @maximepvrt Pushed a commit to update it, could you try again? |
Thank you @atinux. I tested, but … In regard to the mobile browser behavior, I've come to realize that the prompt to select an application for the authentication process occurs due to the Android GitHub application intercepting all GitHub URLs. Subsequently, it suggests redirecting the externally generated GitHub link to a browser (without brave, my browser 😅) |
Github Android App issue https://github.com/orgs/community/discussions/51846 |
No description provided.
The text was updated successfully, but these errors were encountered: