cerebrate-project / cerebrate

Cerebrate is an open-source platform meant to act as a trusted contact information provider and interconnection orchestrator for other security tools.
https://www.cerebrate-project.org/
GNU Affero General Public License v3.0
83 stars 16 forks source link

Integration with Keycloak #115

Open ndnikolaev opened 1 year ago

ndnikolaev commented 1 year ago

Hello,

I follow this guide: https://doc.cerebrate-project.org/administration/#keycloak-configuration but cant authenticate with keycloak-20.0.1. Error in logs: 2022-11-21 10:31:56 error: [RuntimeException] Unable to authenticate user. The KeyCloak and Cerebrate states of the user differ. This could be due to a missing synchronisation of the data. in /var/www/cerebrate/src/Model/Behavior/AuthKeycloakBehavior.php on line 33 Stack Trace:

Request URL: /social-auth/callback/keycloak?state=fae009b8551bc5bf11b8786c0712a00d&session_state=f21b9302-29e5-4e22-885d-763a30d8fd79&code=69b93449-acf1-4c5e-9325-ffc89b3e0e49.f21b9302-29e5-4e22-885d-763a30d8fd79.883da204-814b-45fd-8580-4204de500167

Is there something that i did wrong

Thanks in advance

Alexis-Commits commented 1 year ago

Any update to this ?