diff --git a/src/controllers/openid_controller.rs b/src/controllers/openid_controller.rs index 5ce373a..1bbf052 100644 --- a/src/controllers/openid_controller.rs +++ b/src/controllers/openid_controller.rs @@ -26,7 +26,7 @@ use crate::utils::time::time; pub async fn get_configuration(app_conf: web::Data) -> impl Responder { HttpResponse::Ok().json(OpenIDConfig { - issuer: app_conf.full_url("/"), + issuer: app_conf.website_origin.clone(), authorization_endpoint: app_conf.full_url(AUTHORIZE_URI), token_endpoint: app_conf.full_url(TOKEN_URI), userinfo_endpoint: app_conf.full_url(USERINFO_URI),