I’ve configured Strapis Users & Permission Plugin with Cognito as Identity Provider.
I’m also hosting my Client (a staic site) through AWS CloudFront.
The authentication fails because Strapi appends the AccessToken, IdToken and RefreshToken from Cognito as query parameter to the callback to the frontend. This causes a HTTP 413 and the error message reads Request Entity Too Large
. So it seems to exceed the maximum request length, which is a hard limit.
**Is there any way to work around this? Is it possible to ‘shortcircuit’ the callback? **The client won’t need those tokens for any other purpose than handing them back to Srapi anyway.
This topic has been created from a Discord post (1255530835910852680) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord