Slide 12
Slide 12 text
Amplify Authで認証処理実装
①Amplifyの初期化
Amplify.configure({
Auth: {
region: "ap-northeast-1",
userPoolId: "",
userPollWebClientId: "",
// federatedSignInを使う場合
oauth: {
domain: "",
scope: ["email", "openid", "aws.cognito.signin.user.admin"],
redirectSignIn: "",
redirectSignOut: "",
responseType: "code"
}
}
})
_app.tsxで以下を実行する