35c6af555fa00b6f44384a72e8b24885e2739305
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,3 +1,5 @@ |
1 | +Nuxtjsの`auth-module`([GitHub - nuxt-community/auth-module](https://github.com/nuxt-community/auth-module))がAWS CognitoとAWS API Gatewayの組み合わせで使えない話。 |
|
2 | + |
|
1 | 3 | Cognitoの認証では`access_token`が必要であり、API Gatewayのオーソライザーでは`id_token`を求められるので、本来は`auth-module` |
2 | 4 | 側で両方保持しておいてもらわないといけない。しかしまだ実装されていないようだ。 |
3 | 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) |