Sign up with apple without Web view does not work
yegenpres opened this issue · 2 comments
Describe the bug
Sign up with app work correct throw web page, but when I try use SwiftUI SignUp apple button and get JVW token, then pass in directly to Amplify Auth API I get error: Failed execution for Auth.federatedToIdentityPool with error: AuthError: Not authorized error Recovery suggestion: Check whether the given values are correct and the user is authorized to perform the operation amplify
Steps To Reproduce
Steps to reproduce the behavior:
1. Configure Apple sigh in like external provider
2. Check does it works throw sign up by web.
3. Define apple Sign in button in SwiftUI app.
4. Get user identity
5. Pass it to
Expected behavior
Need log in user, like with web.
Amplify Framework Version
6.3.7
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
5.9
CLI version
12.12.4
Xcode version
15.4
Relevant log output
<details>
<summary>Log Messages</summary>
Failed execution for Auth.federatedToIdentityPool with error: AuthError: Not authorized error Recovery suggestion: Check whether the given values are correct and the user is authorized to perform the operation amplify
Is this a regression?
Yes
Regression additional context
Amplify gen 2
Platforms
iOS
OS Version
IOS 17+
Device
Any IOS device or simulator
Specific to simulators
Any
Additional context
The API's that you used is federating into Identity pools.. Federating to user pools is only supported through the WebUI. Marking the issue as duplicate.
Please track: #1121
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.