You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imraymondlee opened this issue
Apr 27, 2022
· 2 comments
Assignees
Labels
APIRelated to REST API issuesAuthRelated to Auth components/categorybugSomething isn't workingduplicateIf marked with duplicate, issue will be closed & original will be added for traceability
We are manually configuring our resource following these instructions using Amplify UI Geo components (that uses Amplify Auth). We are not using the optional userPoolId and userPoolWebClientId properties as we are only using unauthenticated identities. Upon loading the page, we come across the following error:
[ERROR] 09:50.230 AuthError -
Error: Amplify has not been configured correctly.
The configuration object is missing required auth properties.
This error is typically caused by one of the following scenarios:
1. Did you run `amplify push` after adding auth via `amplify add auth`?
See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information
2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.
We do not get this error when we have values for userPoolId and userPoolWebClientId.
Expected behavior
We should not be getting this error when we don't have userPoolId and userPoolWebClientId set.
We were not seeing this issue in aws-amplify@4.3.12. Upon investigation, I saw that there was a change here that now displays an error. currentSession() eventually gets called when Amplify UI Geo calls currentUserCredentials().
The text was updated successfully, but these errors were encountered:
Hello @imraymondlee 👋
Thanks for opening this issue. This is a known issue and worked on here as part of this so I am marking this as a duplicate.
vyomr13
added
duplicate
If marked with duplicate, issue will be closed & original will be added for traceability
bug
Something isn't working
Auth
Related to Auth components/category
API
Related to REST API issues
labels
Apr 27, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
APIRelated to REST API issuesAuthRelated to Auth components/categorybugSomething isn't workingduplicateIf marked with duplicate, issue will be closed & original will be added for traceability
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Authentication, Geo
Amplify Categories
auth, geo
Environment information
Describe the bug
We are manually configuring our resource following these instructions using Amplify UI Geo components (that uses Amplify Auth). We are not using the optional
userPoolId
anduserPoolWebClientId
properties as we are only using unauthenticated identities. Upon loading the page, we come across the following error:We do not get this error when we have values for
userPoolId
anduserPoolWebClientId
.Expected behavior
We should not be getting this error when we don't have
userPoolId
anduserPoolWebClientId
set.Reproduction steps
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
We were not seeing this issue in aws-amplify@4.3.12. Upon investigation, I saw that there was a change here that now displays an error.
currentSession()
eventually gets called when Amplify UI Geo calls currentUserCredentials().The text was updated successfully, but these errors were encountered: