Skip to content

Commit 352eec0

Browse files
authored
Merge branch 'release-1.3' into krancour/release-1.3-lock
2 parents 0a7bd07 + 35f12ce commit 352eec0

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Diff for: ui/src/features/auth/oidc-utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const oidcClientAuth: ClientAuth = () => {
66
// equivalent function for token_endpoint_auth_method: 'none'
77
};
88

9-
export const shouldAllowIdpHttpRequest = () => __UI_VERSION__ === 'development';
9+
export const shouldAllowIdpHttpRequest = () => true;
1010

1111
export const getOIDCScopes = (userOIDCConfig: OIDCConfig, idp: AuthorizationServer) => {
1212
const scopes = [...userOIDCConfig.scopes];

Diff for: ui/src/features/auth/token-renew.tsx

-5
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@ export const TokenRenew = () => {
103103
onLogin(result.id_token, result.refresh_token);
104104
navigate(searchParams.get(redirectToQueryParam) || paths.home);
105105
} catch (err) {
106-
notification.error({
107-
message: `OIDC: ${JSON.stringify(err)}`,
108-
placement: 'bottomRight'
109-
});
110-
111106
logout();
112107
navigate(paths.login);
113108
}

0 commit comments

Comments
 (0)