TF-4186 Implement remember choose organisation server

This commit is contained in:
dab246
2025-12-08 15:42:07 +07:00
committed by Dat H. Pham
parent 0bbcfd0f75
commit c87d3229ce
15 changed files with 317 additions and 45 deletions
@@ -178,19 +178,12 @@ abstract class ReloadableController extends BaseController {
required TokenOIDC tokenOIDC,
required OIDCConfiguration oidcConfiguration,
}) {
final baseUrl = baseUri.toString();
dynamicUrlInterceptors.setJmapUrl(baseUrl);
dynamicUrlInterceptors.changeBaseUrl(baseUrl);
authorizationInterceptors.setTokenAndAuthorityOidc(
newToken: tokenOIDC,
newConfig: oidcConfiguration,
);
authorizationIsolateInterceptors.setTokenAndAuthorityOidc(
newToken: tokenOIDC,
newConfig: oidcConfiguration,
setDataToInterceptors(
baseUrl: baseUri.toString(),
tokenOIDC: tokenOIDC,
oidcConfiguration: oidcConfiguration,
);
getOidcUserInfo(oidcConfiguration);
getSessionAction();
}
}