-
Notifications
You must be signed in to change notification settings - Fork 200
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
visionOS Sign In With Apple support for Cognito User Pools #3539
Comments
@LarissaKim Thanks for creating the issue. Our team will look into your questions and provide and update as soon as we can. Appreciate your patience. |
@harsh62 I'm following up with details regarding my specific use case to provide further context: Cognito User Pool is used for authentication and an Identity Pool manages S3 resource access (primarily to enable "guest" user access). Ideally, Sign In with Apple would be the exclusive authentication method. StoreKit is integrated to manage subscriptions, and certain app features require users to be both authenticated and have an active subscription. Having users federate via Sign In with Apple would streamline the account and subscription management by associating them directly with the user's Apple ID. Our app's business logic also requires a user to be associated with a "username", so we would prompt users for one upon sign-up and assign it to their Based on the documentation and insights from existing discussions, it seems that Given this context:
I would greatly appreciate your guidance on implementing this with Amplify, including any alternative strategies that might be better suited for our goals. |
@LarissaKim Answers to your original questions first
Since VisionOS is dev-preview, the official documentation has not been updated to include VisionOS.
Yes. ATM
Yes. The API is available on VisionOS. Answers to your 2nd post:
Yes. ATM this is the only way to use Sign In with Apple.
Yes. Check documentation. See
See this AWS Blog to understand how Sign In with Apple works with Cognito User Pools.
AWSMobileClient (which is part of the AWS SDK) would not support VisionOS. |
@harsh62 My original goal was to integrate a native Sign In with Apple experience for the users. I had assumed While you have confirmed that A shift in our project's requirements has now made it necessary to implement a REST API (API Gateway with Lambda integration/DynamoDB). This validates the case for managing user profiles directly. Considering the objectives to 1) securely and consistently identify and associate users by their Apple ID, and 2) offer as close to a native sign-in experience as possible, are there any potential challenges or limitations with relying solely on an Identity Pool for social sign-in with Amplify, without integrating a User Pool, I should be aware of before committing fully to this path? |
From what you have described, I don't see anything that poses red flags. You can read more about our federation to Identity Pool API's here. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
I'm looking for clarification on integrating Sign In With Apple with Cognito User Pools for visionOS. My experience so far has involved authenticating users through Amazon Cognito user pools directly using custom UI, so I'm not familiar with the flow for social sign-in or
signInWithWebUI
.The
Amplify.Categories.Auth.AuthCategory+ClientBehavior
interface seems to indicate thatsignInWithWebUI
is supported on visionOS. However, the docs state that "Social sign-in (OAuth) functionality is only available in iOS and macOS."signInWithWebUI
the only way to implement social sign-in with Cognito User Pools?signInWithWebUI
for a Cognito User Pool supported for visionOS?I appreciate your time and assistance in clarifying these points.
The text was updated successfully, but these errors were encountered: