Hey guys,
how can I configure how discourse generates the redirect url. My problem is that my oauth provider configured this (and can´t change it due to conventions):
https://…/auth/oauth2/realms/root/realms/…/authorize?client_id=…&redirect_uri=https://…/auth/oauth2/callback&response_type=code&scope=openid+profile+email&state=…
and my discourse instance generates this:
https://…/auth/oauth2/realms/root/realms/…/authorize?client_id=…&redirect_uri=https://…/auth/oauth2_basic /callback&response_type=code&scope=openid+profile+email&state=…
How can I change this ?
Thanks and greetings,
Julian
david
(David Taylor)
Mars 14, 2019, 10:40
2
The callback URL is not configurable on Discourse. The only way to change it would be to create a copy of the plugin and modify its code.
This is quite unusual, normally the consumer can define the callback URL
2 « J'aime »
Hi there,
then I´ll have to speak firm words with him
Thanks man, I don´t want to change the code of the plugin … wouldn´t make too much sense, would it ? …
Cheers, Wurzelseppi
2 « J'aime »
system
(system)
A fermé ce sujet ()
Juin 1, 2022, 8:42
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.