Skip to content

Commit 08581b3

Browse files
akuitybotkrancour
andauthored
chore(backport release-1.4): fix(ui): always allow oidc auth code flow over http (#3782)
Co-authored-by: Kent Rancourt <[email protected]>
1 parent 90114ed commit 08581b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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];

0 commit comments

Comments
 (0)