AWS Cognito hosted UI and Amplify Auth with authorization code OAuth flow
问题 I have a Vue.js webapp that I am trying to add simple authentication to using AWS Cognito and Amplify Auth. I have my user pool set up with "Authorization code grant" enabled for the OAuth flow. I also have the redirect URL set as https://example.auth.us-east-2.amazoncognito.com/login?response_type=code&client_id=XXXXXXXX&redirect_uri=https://example.com/auth/verify for the hosted UI. This is what's within the page the hosted UI redirects to: import { Auth } from "aws-amplify"; export default