Hi,
Thank you in advance for reading this
With Chinese locale in version 1.8, we would really like to make use of it. In the ood documentation, it seems it only provides a way to do configuration by admin so that either Chinese or English locale is used. However, what we want is to have the users gain the ability to make the choice of locale instead of administrator.
We learned on page Rails Internationalization (I18n) API ā Ruby on Rails Guides that it is possible for users of rails application to choose which locale to use through url params. However, we are using openid connect with keycloak for authentication. In the authentication process, users will firstly be directed to keycloak and then back to a redirect url specified in the configuration file (auth_openidc.conf), which is clearly the url of ondemand site before. But in our case of wishing to use url params, namely we would have two urls to access the same ondemand site from my understanding, we are not sure how to configure two redirect urls and how to match the url used to access the site with the right redirect url?
Iām considering about setting up two clients in keycloak, each representing one of the two urls and configure ondemand site to be linked to the two clients. Maybe each keycloak client has one of the two urls as its root url. But I have no idea how to do configuration on the ondemand site side to achieve this. Or is it possible to do it this way?
We would really appreciate it if any suggestion is given. Thank you so much and look forward to your reply.
Best wishes,
Kaiyue Wu