Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Okta Error #49

Open
gcagrici opened this issue Feb 20, 2020 · 1 comment
Open

Okta Error #49

gcagrici opened this issue Feb 20, 2020 · 1 comment

Comments

@gcagrici
Copy link

Using the config below:

apiVersion: "security.cloud.ibm.com/v1"
kind: OidcConfig
metadata:
    name: my-oidc-provider-config
    namespace: kubeflow
spec:
    discoveryUrl: https://<org>.okta.com/oauth2/default/.well-known/openid-configuration
    clientId: <client_id>
    clientSecret: <client_secret>

Okta gives this error back:

Cannot supply multiple client credentials. Use one of the following: credentials in the Authorization header, credentials in the post body, or a client_assertion in the post body.

Is this a know issue?

@devstein
Copy link
Contributor

@gcagrici You need to specify authMethod: client_secret_post in your spec. I don't know if this is the expected behavior, but this will fix your issue.

apiVersion: "security.cloud.ibm.com/v1"
kind: OidcConfig
metadata:
  name: app-id-oidc-config
spec:
  authMethod: client_secret_post

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants