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
Update Strava Provider #5241
Update Strava Provider #5241
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 🙌🏽
Few small changes needed before we can integrate this 👍🏽
Co-authored-by: Lluis Agusti <hi@llu.lu>
@lluia Made the changes, let me know if you see anything else! Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there ☕️ , small formatting issue.
Hopefully that looks better! |
Realized I accidentally included a lock file 😅 , it should be ready now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -13,7 +13,7 @@ The **Strava Provider** comes with a set of default options: | |||
|
|||
- [Strava Provider options](https://github.com/nextauthjs/next-auth/blob/main/src/providers/strava.js) | |||
|
|||
You can override any of the options to suit your own use case. | |||
You can override any of the options to suit your own use case. Ensure the `redirect_uri` configuration fits your needs accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaelangrivera my bad, but this was actually done in the wrong file! This is the v3 (unmaintained) documentation. Could you apply this change here in a follow-up PR: https://github.com/nextauthjs/next-auth/blob/main/docs/docs/providers/strava.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WIll do!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@balazsorban44 FYI #5299
☕️ Reasoning
Hi team at NextAuth! First off, I love your work here. It's helped expedite the dev process immensely, so kudos to your team. I've been working on a Strava application that utilizes your
Strava
provider, and found one potential issue and wanted to contribute some other improvements.Be sure to check the comments/changed files for the specific callouts I'm making.
🧢 Checklist
🎫 Affected issues
Currently,
localhost:3000
is hardcoded for theredirect_uri
parameter in the provider authorization configuration forstrava.js
. If you're blindly following the docs (which I admit I did), you'll likely run into a callback issue when deploying on Vercel (or any other hosting service).Fixes: No issue opened, but happy to open an issue.
📌 Resources