Csrf detected while login using oauth.
Summary
I am trying to integrate gitlab with keyCloak using oauth2. Both gitlab and keycloak are in same domain, only difference is port number. When I am logging to keycloak and getting redirected to gitlab, I am getting "csrf detected".
On initial analysis found that, even if I hit below URL of gitlab: /users/auth/oauth2_generic/callback I am redirected to login page with "csrf detected".
Steps to reproduce
Hit below url http://{domain}/users/auth/oauth2_generic/callback
Gitlab CE version : 11.2.3
Edited by ketan kolte