Closed balazsorban44 closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
auth-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 19, 2024 7:34pm |
Attention: Patch coverage is 8.57143%
with 96 lines
in your changes missing coverage. Please review.
Project coverage is 39.21%. Comparing base (
cce41cf
) to head (23c5c97
). Report is 4 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Authjs (next-auth) 5.0.0-beta.25 worked for me for Apple login today, even after upgrading to Next 15.0/React 19.0. Many thanks for your efforts on this.
☕️ Reasoning
"Sign in with Apple" is not the smoothest thing to implement. The DX for setting things up for development is subpar considering the UX they uphold themselves for their users. It requires extra hops on every corner.
But here it is. With some hacks in the core library - since Apple is unable to follow the OIDC spec -, it is now fully working again. I'm sorry for those who needed to implement hacks for it before.
As part of this work, we've also worked on a way to generate the client secret with a community member, since Apple expects it to be a JWT. You can run
npx auth add apple
in the root of your project, and it will give you a step-by-step on how to do it. At the end, it will add theAUTH_APPLE_ID
andAUTH_APPLE_SECRET
to your env file as well.Feedback on it is appreciated!
Huge thanks to @ChrGrb for the preliminary work in #8428 and #8189.
🧢 Checklist
🎫 Affected issues
Closes #8189 Closes #6788 Closes #4061 Closes #8188 Closes #9989
📌 Resources