After @aws-amplify/ui-react v2.0.0 upgrade the Auth.configure({ ... }) stop working
See original GitHub issueAfter @aws-amplify/ui-react v2.0.0 upgrade the Auth.configure({ … }) stop working.
Now I can just see the standard login page
import { Auth } from "@aws-amplify/auth";
Auth.configure({
region: ...,
userPoolId: ...,
userPoolWebClientId: ...,
oauth: {
domain: ...,
redirectSignIn: ...,
redirectSignOut: ...,
scope: ["email", "profile", "openid", "aws.cognito.signin.user.admin"],
responseType: "code"
}
});
function App(): JSX.Element {
}
export default withAuthenticator(App);
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Auth Error: Amplify has not been configured correctly after ...
Describe the bug Using the React UI components to provide login/reset/signup (no real customization, pretty much out of the box), after ...
Read more >AuthError - Error: Amplify has not been configured correctly
Possible that this is new in an updated version of amplify as I had amplify auth working flawlessly before and the issue arose...
Read more >Amplify UI's new Authenticator component makes it easy to ...
In this blog post we will deploy a React app with Amplify Hosting, set up auth, and then integrate the <Authenticator> UI component...
Read more >Tutorial - Add authentication - React - AWS Amplify Docs
Getting Started with Amplify - how to add auth to your app - React - AWS Amplify Docs. ... go to Amplify Console...
Read more >Release Notes for Cisco Identity Services Engine, Release 3.0
If you are upgrading from Cisco ISE 2.7 or earlier release to Cisco ISE 3.0, you must reconfigure the settings for SNMP users...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @ErikCH sorry to ping again on this closed issue but I’m quite close to what I want to achieve and this lead me to incredible frustration.
My application is working with AWS Cognito (I don’t have any social provider) federated with an identity provider (it is not Google, Facebook, or Amazon).
I can’t find a way to add a button to be redirected to the AWS Cognito Hosted UI page (as I was able to do in the past). It seems that the section OAuth now is ignored. Documentation doesn’t help that much in this super plain scenario (no need to work with Google, Facebook, Amazon … just want to land to the AWS Cognito Hosted UI).
Maurizio
Closing this for now, please reopen if it’s still occurring.