cryptpad / sso

CryptPad official SSO plugin
https://cryptpad.org
GNU Affero General Public License v3.0
13 stars 6 forks source link

Parameter "state" #7

Closed petrm closed 4 months ago

petrm commented 7 months ago

Hi,

I asked in the matrix chat and was advised to open a bug. I am trying to set up SSO using Authelia and it does not work, throwing the following error:

"Authorization Request failed with error: The state is missing or does not have enough characters and is therefore considered too weak. Request parameter 'state' must be at least be 8 characters long to ensure sufficient entropy."

Quick google shows sames/similar issue in other projects: https://github.com/outline/outline/issues/2663 and https://github.com/hackmdio/codimd/pull/1512

I don't know how to verify if the state parameter is being sent by the SSO plugin.