ocm login can't get token

Solution Verified - Updated -

Issue

  • Can't get token: token doesn't contain the 'exp' claim
    We are trying to connect with ocm login --token and I'm getting the next error:
Error: Can't get token: token doesn't contain the 'exp' claim

I'm looking in the token from ocm console (cloud.redhat.com) and the payload of token is missing the 'exp' claim.

Environment

  • OCM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content