-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication Issue in Authoring-ui #5
Comments
Hi @Kartik-Rai This is the flow for authentication in the authoring platform:
We host the IMS service under the same top level domain so that a single sign-on cookie can be assigned by that service and used in the authoring ui. For example the authoring ui could be hosted at: The IMS service communicates with the Crowd REST interface in order to authenticate the user and get a list of user groups. These details are cached for future requests. We host IMS and Crowd on the same machine. Example identity-service
Once the user has the single sign-on cookie all requests to authoring-services and Snowstorm under The backend services expect to receive requests from Nginx with the headers already set for I hope this helps! Kind regards, |
Hi @kaicode Thanks for the great insight into the whole authentication process. Still the issue of authentication at authoring-ui has not been resolved yet, With this I understand the 403 response but there is no forwarding of user after successfull authentication,
I don't understand why this situation is happening, Kindly do the needful |
Hi @Kartik-Rai, I'm sorry to hear that authentication is not yet working for you. Please check the following:
If this is not working check the IMS application configuration and that the authoring-ui and IMS are being served on a common top level domain. If the cookie is being sent to authoring-services but the logged in user is still getting access denied check the nginx configuration and that the ngx_http_auth_request_module is included and enabled. This makes a proxy call to IMS on the way to Authoring Service to validate the cookie. I hope that helps but if it is still not working let's have a call. Kind regards, |
Hi,
Hope you all are doing good and safe.
Whenever we have tried to access the user login in Authoring-ui, Service Referrer of the link returns back to the home page of auth-ui( on clicking the login button)
http://arp-snowstorm.mig.in/undefinedlogin?serviceReferer=http://arp-snowstorm.mig.in/#/home
so the question here is how the authentication works in authoring-ui with IMS, also I have added the context path for /auth in nginx config file
Also, how can we change the service referrer of auth-ui to the IMS authentication and revert it back to the authoring-ui screen with defined user.
Note- 1) Application link is already been setup in the Crowd for IMS authentication.
2) Edited the endpointConfig.json file as per our server details.
Kindly do the needful.
Thanks & Regards
Kartik Rai (NRC India)
The text was updated successfully, but these errors were encountered: