System registration to RHSM fails with error "Token authentication not supported by the entitlement server"

Solution Verified - Updated -

Issue

  • Unable to authenticate using token-based authentication when registering a system with community.general.redhat_subscription Ansible collection and getting Error message: Token authentication not supported by the entitlement server
  • subscription-manager registration fails with the below error when using RHSM API token:-

    # subscription-manager register --token=<RHSM_API_Token>
      Token authentication not supported by the entitlement server
    

Environment

  • Red Hat Enterprise Linux
  • Red Hat Subscription Manager (RHSM)

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