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

Appending callback to url when hitting Sign in button on Nav #777

Open
JohnAllenTech opened this issue Feb 27, 2024 · 5 comments
Open

Appending callback to url when hitting Sign in button on Nav #777

JohnAllenTech opened this issue Feb 27, 2024 · 5 comments

Comments

@JohnAllenTech
Copy link
Contributor

JohnAllenTech commented Feb 27, 2024

Context

If you spam click the sign in button it keeps appending 'www.codu.co%2Fget-started%3FcallbackUrl%3Dhttps%253A%252F%252Fwww.codu.co%252F' to the url.
image

Expected Behavior

The url would update on first click and would not update on subsequent clciks

What is the current behavior?

The url is appended with 'www.codu.co%2Fget-started%3FcallbackUrl%3Dhttps%253A%252F%252Fwww.codu.co%252F' each time.

Screenshots

Steps to reproduce

  1. Navigate to https://www.codu.co/
  2. Click Sign in button in Nav
  3. Click Sign in button in Nav again
  4. Look at the url

Additional info

No loss in functionality as far as I can tell so maybe not a big deal

Copy link

Hello @JohnAllenTech, thanks for opening your first issue! your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.

Copy link

Uh oh! @JohnAllenTech, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

1 similar comment
Copy link

Uh oh! @JohnAllenTech, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

@JohnAllenTech
Copy link
Contributor Author

@the-Tiege this might be a nice one to pick up

@JohnAllenTech
Copy link
Contributor Author

Looked at this one last night. Its a bit of a mind melt. Seems to be an issue with next-auth but I cant surface the logs. Log surfacing seems to be a known issue with next-auth.

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

1 participant