Fix bad issuer
This commit is contained in:
parent
e0016b8305
commit
1d21b30b68
@ -26,7 +26,7 @@ use crate::utils::time::time;
|
||||
|
||||
pub async fn get_configuration(app_conf: web::Data<AppConfig>) -> 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),
|
||||
|
Loading…
Reference in New Issue
Block a user