de7cb014d4735d09dda1788ed4c511a2b4750191
nuxtjs/auth-module/AWS Cognito + \343\202\252\343\203\274\343\202\275\343\203\251\343\202\244\343\202\266\343\203\274\344\273\230\343\201\215API Gateway\343\201\253\345\257\276\345\277\234\343\201\227\343\201\246\343\201\204\343\201\252\343\201\204.md
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 | Nuxtjsの`auth-module`([GitHub - nuxt-community/auth-module](https://github.com/nuxt-community/auth-module))がAWS CognitoとAWS API Gatewayの組み合わせで使えない話。 |
2 | 2 | |
3 | 3 | Cognitoの認証では`access_token`が必要であり、API Gatewayのオーソライザーでは`id_token`を求められるので、本来は`auth-module` |
4 | -側で両方保持しておいてもらわないといけない。しかしまだ実装されていないようだ。 |
|
4 | +側で`id_token`と`access_token`の両方保持しておいてもらわないといけない。しかしまだ実装されていないようだ。 |
|
5 | 5 | [Store both access_token and id_token, not mutually exclusive · Issue #1291 · nuxt-community/auth-module · GitHub](https://github.com/nuxt-community/auth-module/issues/1291) |
6 | 6 | |
7 | 7 | ただ、Amplifyのライブラリを使ったSchemeを作ってくれてる人はいるっぽい。 |