You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-21 23:00:50 +03:00
Allow running the authentication service on a different base path
This commit is contained in:
@@ -25,7 +25,7 @@ use mas_keystore::{Encrypter, Keystore};
|
||||
use mas_oidc_client::requests::{
|
||||
authorization_code::AuthorizationValidationData, jose::JwtVerificationData,
|
||||
};
|
||||
use mas_router::{Route, UrlBuilder};
|
||||
use mas_router::UrlBuilder;
|
||||
use mas_storage::{
|
||||
upstream_oauth2::{
|
||||
UpstreamOAuthLinkRepository, UpstreamOAuthProviderRepository,
|
||||
@@ -268,6 +268,6 @@ pub(crate) async fn get(
|
||||
|
||||
Ok((
|
||||
cookie_jar,
|
||||
mas_router::UpstreamOAuth2Link::new(link.id).go(),
|
||||
url_builder.redirect(&mas_router::UpstreamOAuth2Link::new(link.id)),
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user