You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Move public base URL from oauth2 config to http config
This commit is contained in:
@@ -47,12 +47,19 @@ pub fn root(
|
||||
config: &RootConfig,
|
||||
) -> BoxedFilter<(impl Reply,)> {
|
||||
let health = health(pool);
|
||||
let oauth2 = oauth2(pool, templates, key_store, &config.oauth2, &config.cookies);
|
||||
let oauth2 = oauth2(
|
||||
pool,
|
||||
templates,
|
||||
key_store,
|
||||
&config.oauth2,
|
||||
&config.http,
|
||||
&config.cookies,
|
||||
);
|
||||
let views = views(
|
||||
pool,
|
||||
templates,
|
||||
mailer,
|
||||
&config.oauth2,
|
||||
&config.http,
|
||||
&config.csrf,
|
||||
&config.cookies,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user