codu-code / codu

Codú's open-source codebase. A space for coders. Visit our community!
https://codu.co/
Apache License 2.0
134 stars 141 forks source link

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

Open JohnAllenTech opened 7 months ago

JohnAllenTech commented 7 months ago

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

github-actions[bot] commented 7 months ago

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] commented 7 months ago

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] commented 7 months ago

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 commented 7 months ago

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

JohnAllenTech commented 7 months ago

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.