SSO 4.0 Default roles to be passed

Hello Team Helical,

I am using Helical Insight 4.0. I have implemented SSO by following the blog

I want to pass the default role to the created users as role_viewer but the default role getting passed is still role_user. I want to pass role_viewer so that the user can not see any other kind of page.
Since the user is having role_user access he is able to see other pages also. How can the same be resolved? I am referring to this blog

Thank You

1 Like

Hello Lero,
You can go to the location “…\hi\apache-tomcat-7\webapps\hi-ee\WEB-INF\classes” and open the file The default role is mentioned here which can be changed to below.

defaultRole = ROLE_VIEWER

Once done you can try in private window. No restart is required.
Thank You
From Team Helical