-
Notifications
You must be signed in to change notification settings - Fork 202
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
User federation not taking place using imported resources #3205
Comments
@anartzs Can you verify that the |
@phantumcode we don't use the Amplify hosted web UI. Instead we do this with the SignInWithApple and Sign in with Google buttons, but I have checked the Here you can see the contents of the
|
@anartzs Checking if in your identity pool you have added your providers (similar to the screenshot below)? If yes, could you share some details about the identity pool setup?
|
@anartzs Would you be able to share how this resource was created?
Also would you be able to share the complete verbose logs, it would help understand the context. |
I created this resource using the CLI, but as I have mentioned before, all the resources on that Amplify app were accidentally deleted, then recovered (some of them were protected against deletion and others had backups) and re-imported into the app (in this case using These are my verbose logs:
|
Any updates on this issue? |
@anartzs Unfortunately I have not been able to repro this issue on my my local environment. I hope you are using Amplify CLI, if yes, would you be able to share diagnosis report with us following this documentation and share the project identifier with us. This way I can recreate the exact configuration and figure out whats going on. |
@harsh62 here's my project identifier:
|
@anartzs Thanks for providing the identifier. I will look into recreating the resources and get back to you. Appreciate your patience on this. |
Hey @anartzs - I'm working on reproducing this and will get back to you with any updates or follow up questions shortly. |
@anartzs we're unable to reproduce this issue. Have you made any progress on your side? |
|
Describe the bug
I am trying to reestablish user federation with Google and Apple on my iOS app because all the resources of my amplify backend were accidentally deleted several weeks ago. After all the resources have been re-imported, the only thing that doesn't work is the Social Sign in using the app.
I am following these instructions:
https://aws.amazon.com/blogs/mobile/federating-users-using-sign-in-with-apple-and-aws-amplify-for-swift/
Identity federation works correctly when using amplify-js but fails when using amplify-swift
Before all the resources were deleted, identity federation worked correctly, and users could Sign in with their federated accounts.
The error occurs when calling the following function:
I thought maybe it was due to a federation-related Lambda Function that was deleted during the incident, but I can't find any info on what functions are being called or what is giving me these errors.
In my CloudFront stack several old/deleted resources are still used, and the old, non-existing identity pool is still referenced, but I can't change it, as all the update or modify buttons are disabled, and I don't even know if this has anything to do with my federation problem with amplify-swift
I have followed other issues, such as #3124 but applying the solution given on this issue doesn't give me any result or improvement.
Steps To Reproduce
Expected behavior
Identity should be federated.
Amplify Framework Version
2.0
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
4
CLI version
12.3.0
Xcode version
14.3.1
Relevant log output
The text was updated successfully, but these errors were encountered: