codu icon indicating copy to clipboard operation
codu copied to clipboard

Appending callback to url when hitting Sign in button on Nav

Open JohnAllenTech opened this issue 1 year ago • 5 comments

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

JohnAllenTech avatar Feb 27 '24 13:02 JohnAllenTech

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.

github-actions[bot] avatar Feb 27 '24 13:02 github-actions[bot]

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.

github-actions[bot] avatar Feb 27 '24 13:02 github-actions[bot]

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.

github-actions[bot] avatar Feb 28 '24 16:02 github-actions[bot]

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

JohnAllenTech avatar Mar 08 '24 15:03 JohnAllenTech

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.

JohnAllenTech avatar Mar 14 '24 13:03 JohnAllenTech