-
Notifications
You must be signed in to change notification settings - Fork 192
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
iOS Amplify Apple SignIn successfully but could not access other resources(S3) #3760
Comments
@XingZhaoDev Thank you for creating the issue. Would you be able to share the verbose logs when the issue is happening? You can enable verbose logging to the console by doing this before calling
|
@harsh62 hi, that's the logs I have. Thanks. |
@XingZhaoDev Did you enable verbose logging? And can you paste the entire log please? In addition to that, could you also please paste code snippets that you have used for achieving the usecase? |
@harsh62 I enabled verbose logging already. Below are the entire logs since app is launched
|
What I am doing is:
|
|
|
amplifyconfiguration.json is here:
|
I see that you are not creating the path correctly while uploading an image..
The path should look something like this |
hi @harsh62 Thanks for the reply, I just encountered a weird thing that the uploading works even when the path is "Images/ronaldo.png", and I did not even change anything. Thanks. |
I would recommend going through the documentation to better understand how paths work. From the docs:
|
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
I have implemented Apple SignIn in my app, then I called "plugin.federateToIdentityPool()" and it is successful and I am able to fetch the credentials as well. BUT, when I called Amplify.Storage.uploadData(); I got error ""AuthError: Users Federated to Identity Pool do not have User Pool access.\nRecovery suggestion: To access User Pool data, you must use a Sign In method". Could you please help? I only wanted to have Apple SignIn in my app and do not want to create a custom SignIn flow or Cognito User Pool.
Steps To Reproduce
Expected behavior
App should be able to access to S3 after SignIn with Apple account.
Amplify Framework Version
2.35.3
Amplify Categories
Storage
Dependency manager
Swift PM
Swift version
5.8
CLI version
12.12.2
Xcode version
Xcode 16.0
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
15.0
Device
iPhone 13 PRO
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: