1. はじめに
事前準備
2. AWS サービスの準備
Cognito ユーザプールを作成
Cognito アプリクライアントを作成
Cognito アプリクライアントに追加設定
Cognito ドメイン名を設定
API Gateway REST API を作成
API Gateway REST API を設定
API Gateway REST API に認証を設定
リソース ID 確認
3. Cognito Identity Provider API
ハンズオン内容の解説
1. Postman で SignUp
2. Postman で ConfrmSignUp
3. Postman で InitiateAuth
4. Postman で REST API アクセス
5. Postman で DeleteUser
1. curl で SignUp
2. curl で ConfrmSignUp
3. curl で InitiateAuth
4. curl で REST API アクセス
5. curl で DeleteUser
4. Auth API の Authorization Code Grant の呼び出し
ハンズオン内容の解説
1-4. 認可エンドポイント
5. Postman で トークンエンドポイント
5. curl で トークンエンドポイント
5. 後片付け
© 2021 Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cognito API ハンズオン
> AWS サービスの準備
AWS サービスの準備
この章では、
Cognito ユーザプール
と認証後に得られた JWT トークンでアクセスする
API Gateway の REST API
を用意します。