Skip to content
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

Fetch ListIdentityProviders Amplify using getEscapeHatch #3743

Closed
jmanalang3 opened this issue Jun 7, 2024 · 7 comments
Closed

Fetch ListIdentityProviders Amplify using getEscapeHatch #3743

jmanalang3 opened this issue Jun 7, 2024 · 7 comments
Assignees
Labels
auth Issues related to the Auth category bug Something isn't working work in progress Issues was triaged and investigation done

Comments

@jmanalang3
Copy link

jmanalang3 commented Jun 7, 2024

Is it possible to get listIdentityProviders on Amplify using getEscapeHatch? I already have the correct configuration and cognitoIdentity set up in Amplify, but I still received an error message that said

listIdentityProviders error: crtError(AwsCommonRuntimeKit.CRTError(code: 6153, message: "Valid credentials could not be sourced by the IMDS provider", name: "AWS_AUTH_CREDENTIALS_PROVIDER_IMDS_SOURCE_FAILURE"))

this is the code that I've in Amplify and I used aws-sdk-swift dependency
Screenshot 2024-06-07 at 6 32 56 PM

Also, I am able to do this using AWS SDK iOS with the same configuration and cognitoIdentity
and it work successfully to fetch list Identity providers without any error message

Screenshot 2024-06-07 at 6 55 34 PM

@lawmicha lawmicha added bug Something isn't working auth Issues related to the Auth category labels Jun 10, 2024
@lawmicha lawmicha added the work in progress Issues was triaged and investigation done label Jun 10, 2024
@harsh62
Copy link
Member

harsh62 commented Jun 10, 2024

@jmanalang3 Thanks for creating this issues. I was able to identify the missing piece in Amplify. Would you be able to validate if the fix works for you in our working branch fix/3743?

@harsh62 harsh62 self-assigned this Jun 10, 2024
@harsh62 harsh62 added the pending-community-response Issue is pending response from the issue requestor label Jun 10, 2024
@jmanalang3
Copy link
Author

Hi @harsh62. I already checked and now it is working thank you for the quick fix...

@github-actions github-actions bot removed the pending-community-response Issue is pending response from the issue requestor label Jun 10, 2024
@harsh62
Copy link
Member

harsh62 commented Jun 10, 2024

@jmanalang3 Thanks for confirming. I'll work with my team to merge the PR and push out a release sometime this week.

@jmanalang3
Copy link
Author

Hi @harsh62 are these changes merged on the main branch?
also, fix/3743 branch is deleted.

@jmanalang3
Copy link
Author

@harsh62 never mind, I saw the PR. thanks, it's working as expected on the main branch.

Copy link
Contributor

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.

@jmanalang3
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Issues related to the Auth category bug Something isn't working work in progress Issues was triaged and investigation done
Projects
None yet
Development

No branches or pull requests

3 participants