You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the admin-ui angular app makes a first connection with the mosip server using this url : authmanager/authorize/admin/validateToken
the MOSIP server returns that cookies are empty:
io.mosip.kernel.auth.exception.AuthManagerException: Cookies are empty
at io.mosip.kernel.auth.controller.AuthController.validateAdminToken(AuthController.java:292)
Then the admin-ui can not start after this step, because when it tries just after to log with the url /v1/authmanager/login/aHR0cDovL2xvY2FsaG9zdDo0MjAwLw==
the server returns that there is a missing cookie 'state' with the below error:
org.springframework.web.bind.ServletRequestBindingException: Missing cookie 'state' for method parameter of type String
Even-tough the angular admin ui code does set the cookie:
Hello Mosip team,
When the admin-ui angular app makes a first connection with the mosip server using this url : authmanager/authorize/admin/validateToken
the MOSIP server returns that cookies are empty:
io.mosip.kernel.auth.exception.AuthManagerException: Cookies are empty
at io.mosip.kernel.auth.controller.AuthController.validateAdminToken(AuthController.java:292)
Then the admin-ui can not start after this step, because when it tries just after to log with the url /v1/authmanager/login/aHR0cDovL2xvY2FsaG9zdDo0MjAwLw==
the server returns that there is a missing cookie 'state' with the below error:
org.springframework.web.bind.ServletRequestBindingException: Missing cookie 'state' for method parameter of type String
Even-tough the angular admin ui code does set the cookie:
this.cookie.set('state', stateParam, undefined, '/');
It is like the mosip server at first can not manage to create the cookie first.
Any idea?
Thanks
The text was updated successfully, but these errors were encountered: