feat(add): Add Apple Secret generation#10
Merged
balazsorban44 merged 17 commits intonextauthjs:mainfrom Oct 7, 2024
Merged
Conversation
JoftheV
approved these changes
Aug 13, 2024
…a/cli into feat/apple-gen-secret
…a/cli into feat/apple-gen-secret
balazsorban44
approved these changes
Oct 7, 2024
Member
|
Thank you! Sorry that it took this long. 🙈 |
|
so now we do not need to genrate the secret from here https://generate-client-secret.vercel.app/ |
|
@balazsorban44 getting 500 Internal Server Error. |
Member
|
hi, no. you still need to generate the secret at build time, given the variables Apple requires. But instead of going to the website, you can add generate it via |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate
client_secretfor Apple Providerℹ️ More Details
Link to thread in X
Apple Client secrets are special ✨
They require the developer to collect the following values from the Apple Developer dashboard:
.p8file.)Then, a JWT is constructed with an optional expiration date (180 days from now by default) which will be then saved as
AUTH_APPLE_SECRET.More details: https://developer.apple.com/documentation/accountorganizationaldatasharing/creating-a-client-secret
🧢 Checklist
📌 Resources