function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andries.NeyensAndries.Neyens 

Display language when using oAuth

oAuth Login is working just fine, the only problem we are facing is to have the opportunity to change the language of the interface of the login screen.
Is this possible?

We are using this in a Community with a cutom login page.
Adding querystring params to the url (/services/oauth2/authorize) are of course wiped out...
So when landing on the custom login screen (after the redirect), we have no clue in what language the user want this.
Best Answer chosen by Andries.Neyens
Andries.NeyensAndries.Neyens
We solved this by setting a language cookie and read it in the custom login page...
sometimes solutions don't have to be complicated!

All Answers

Andries.NeyensAndries.Neyens
We solved this by setting a language cookie and read it in the custom login page...
sometimes solutions don't have to be complicated!
This was selected as the best answer
Marco Sozzi 24Marco Sozzi 24
Hi Andries.
Can you please explain how the cookie can set the language of the login page?
I need that /services/oauth2/authorize URL can open Community login page in a different language based on the cookie.

Thanks
Marco.