Client Credentials Flow

🎯 Purpose

Enables client/integrator/enterprise/RP to obtain access tokens using client_credentials grant type for server-to-server authentication.


Getting Access Token

🔄 Access Token Process

Authentication Method: Client provides Client ID and Client Secret
Grant Type: Uses client_credentials grant • Purpose: Server-to-server authentication without user interaction • Token Usage: Access protected resources directly


📋 Requirements

Client ID: Valid client identifier from registration
Client Secret: Secure client secret from registration • Grant Type: Must specify client_credentialsEndpoint Access: REL-ID AuthServer token endpoint


#🌐 API Endpoint

URI: https://<AUTH-SERVER-HNIP>:8006/relid/authserver/oauth/token
Method: POST • Authentication: Client credentials (Basic Auth or form parameters)


#📚 Reference Documentation

Detailed Information: REL-ID AuthServer Documentation
Section: Generate Access Token (using Client Credentials) • URI: https://<AUTH-SERVER-HNIP>:8006/relid/authserver/oauth/token


Example

🎯 Implementation Reference

Complete example implementation with request and response details.

📚 Reference Documentation

Complete Examples: REL-ID AuthServer Documentation
Section: Generate Access Token (using Client Credentials) • Content: Example request and response sections • URI: https://<AUTH-SERVER-HNIP>:8006/relid/authserver/oauth/token