feat(apple-oidc): support iOS AuthenticationServices Sign In with Apple flow#247
Closed
aryasaatvik wants to merge 2 commits intoanomalyco:masterfrom
aryasaatvik:apple-ios-signin
Closed
feat(apple-oidc): support iOS AuthenticationServices Sign In with Apple flow#247aryasaatvik wants to merge 2 commits intoanomalyco:masterfrom aryasaatvik:apple-ios-signin
aryasaatvik wants to merge 2 commits intoanomalyco:masterfrom
aryasaatvik:apple-ios-signin
Conversation
- Added `clientSecret` and `responseType` options to the Apple OIDC provider. - Updated OIDC configuration to include `tokenEndpointAuthMethod`. - Implemented handling for authorization code flow in the OIDC provider, including token exchange logic.
…ionServices - Improved error handling for missing or invalid provider and client credentials in the issuer function. - Updated Apple OIDC provider to support client_credentials flow using Apple ID Token, including verification of id_token and app_id. - Made clientSecret optional in the provider interface to accommodate varying provider implementations.
|
|
Hey @aryasaatvik, a bit delayed here but was following along. What was the reason for closing? |
|
Was following here but I think it will be resolved here #284 |
nullfunc
added a commit
to DefangLabs/openauth
that referenced
this pull request
Sep 4, 2025
Co-authored-by: Eric Liu <eric.liu@defang.io> Co-authored-by: Eric Liu <nullfunc@users.noreply.github.com>
nullfunc
added a commit
to DefangLabs/openauth
that referenced
this pull request
Sep 4, 2025
Co-authored-by: Eric Liu <eric.liu@defang.io> Co-authored-by: Eric Liu <nullfunc@users.noreply.github.com>
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.
branched from #246 which fixed issues in Apple OIDC provider
resolves #210
adds support for direct integration with iOS/macOS AuthenticationServices (Sign in with Apple) by updating the AppleOidcProvider to validate Apple ID tokens via the client_credentials grant type.
Previously, OpenAuth had no way to directly validate Apple ID tokens obtained from iOS apps using the native Sign in with Apple flow. This required app developers to either:
This PR extends the OpenAuth client_credentials grant type to handle Apple ID token verification, allowing iOS applications to authenticate directly with the OpenAuth server: