-
Notifications
You must be signed in to change notification settings - Fork 119
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
IndentityId get refreshed after one hour, provoking 401 code response #2751
Comments
@yktoledo Thanks for the report, we will take a look into this issue |
Hey @yktoledo, thank you for your patience. This issue will be addressed with the next release version. Please let us know if there's any further concern. |
Closing this issue as the issue has been addressed with our latest release |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Before opening, please confirm:
Language and Async Model
Kotlin - Coroutines
Amplify Categories
Authentication, REST API
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
https://docs.amplify.aws/android/build-a-backend/auth/enable-guest-access/
Describe the bug
I want to consume API Gateway resource using
authorizationType:AWS_IAM
and "Enable guest access" (Allow unauthenticated logins), based on the documentation, "you can obtain the unique Identity ID which is assigned to the device through the fetchAuthSession method", with the intention to use this "identity id" as the device identifier to communicate, after a little a bit more than one hour of fresh install, the credentials get refreshed, which is perfect, but the identityId too, I will assume is not the expected behavior.Maybe I'm missing something, server configuration specific or android implementation detail, despite is so minimal the amount of code use, 4 line of code, add plugins call with api and auth, follow by the configure call, after that just the get call.
Following the doc https://docs.amplify.aws/android/build-a-backend/restapi/fetch-data/
I appreciate it if you can help me on this.
Note: following the same steps in iOS is not having the same problem, iOS keeps the identity id all the time.
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: