forked from baron/baron-sso
orgfront refresh token 관리 추가
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
import {
|
||||
buildCommonOidcRuntimeConfig,
|
||||
type CommonOidcConfigOptions,
|
||||
} from "../../../common/core/auth";
|
||||
|
||||
export interface OrgFrontAuthRedirectUris {
|
||||
redirectUri: string;
|
||||
postLogoutRedirectUri: string;
|
||||
@@ -31,3 +36,12 @@ export function buildOrgFrontAuthRedirectUris(
|
||||
popupRedirectUri: `${publicOrigin}${ORGFRONT_AUTH_CALLBACK_PATH}`,
|
||||
};
|
||||
}
|
||||
|
||||
export function buildOrgFrontOidcRuntimeConfig<TUserStore>(
|
||||
options: Omit<CommonOidcConfigOptions<TUserStore>, "automaticSilentRenew">,
|
||||
) {
|
||||
return buildCommonOidcRuntimeConfig({
|
||||
...options,
|
||||
automaticSilentRenew: true,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user