LogoLogo
Open Banking
Open Banking
  • Welcome
  • Getting Started
    • MOGOPLUS Open Banking Solution Overview
  • API REFERENCE
    • Basics
    • Authentication
    • API Endpoints
  • TROUBLESHOOTING & SUPPORT
    • Frequently asked questions
    • Contact Us
  • Key concepts & Terminology
    • Glossary
Powered by GitBook
On this page
  • How to Authenticate?
  • Login

Was this helpful?

  1. API REFERENCE

Authentication

This endpoint is provided to allow CDR participants to fetch their access token from MOGOPLUS by passing the required Authorization details.

The client certificate and key, which are required to invoke the Authentication API will be provided by MOGOPLUS team.

How to Authenticate?

  • Get the client certificate and key from MOGOPLUS team

  • Request MOGOPLUS team to provide Basic Auth info (username and password)

  • Form the request as mentioned below using the above details and send

  • You should receive a Bearer token in response to the request

Login

POST/https://auth.auuat.mogoplus.com/api/v1/oauth2/token?grant_type=client_credentials

Invoke the API over mTLS and fetch access token from MOGOPLUS to prove the authenticity of requests

Headers

Name
Value

Content-Type

application/json

Authorization

Basic Auth <username and password>

Parameters

Name
Value

grant_type

client_credentials

Response

{
    "access_token": "eyJraWQiOiI0ZDIyZTlhMy1hNTcyMKD85Nz3kco6EHxYfTk",
    "token_type": "Bearer",
    "expires_in": 35999
}
{
    "error_description": "OAuth 2.0 Parameter: grant_type",
    "error": "unsupported_grant_type",
    "error_uri": "https://datatracker.ietf.org/doc/html/rfc6749#section-5.2"
}
{
    "error": "invalid_client"
}

PreviousBasicsNextAPI Endpoints

Last updated 6 months ago

Was this helpful?