Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not login using OpenID Connect #23911

29x10 opened this issue Oct 3, 2019 · 0 comments


Copy link

29x10 commented Oct 3, 2019

I am configuring auth0 as openid provider, but when I use oc login --token=id_token, it says

error: The token provided is invalid or expired.


[provide output of the openshift version or oc version command]

Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.7-201907171753+1e3cff4-dirty", GitCommit:"1e3cff4", GitTreeState:"dirty", BuildDate:"2019-07-18T00:11:14Z", GoVersion:"go1.11.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+4b86cc5", GitCommit:"4b86cc5", GitTreeState:"clean", BuildDate:"2019-07-24T19:42:25Z", GoVersion:"go1.11.6", Compiler:"gc", Platform:"linux/amd64"}
Steps To Reproduce

Here is my identity configuration for openid:

    - mappingMethod: claim
      name: auth0
            - email
            - email
            - email
        clientID: my_client_id
          name: openid-client-secret-qbmwv
          - email
        issuer: ''
      type: OpenID
Current Result

error: The token provided is invalid or expired.

Expected Result

authenticate successfully

Additional Information

[try to run $ oc adm diagnostics (or oadm diagnostics) command if possible]
[if you are reporting issue related to builds, provide build logs with BUILD_LOGLEVEL=5]
[consider attaching output of the $ oc get all -o json -n <namespace> command to the issue]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.