Mediloop
PlatformIdentity & SSOToken endpoint

Token endpoint

Exchange authorization codes and refresh credentials for scoped access tokens.

Available in sandboxProduction approval required

Standards

OAuth 2.0 + OpenID Connect

Security

Authorization Code + PKCE

Healthcare identity

France + Luxembourg

Access

Sandbox public · production approved

Overview

Mediloop Identity provides a standards-based boundary for authentication and authorization. Public developers can build and test in sandbox; production access is controlled.

Request

Example
POST /oauth/token
Authorization: Bearer $ACCESS_TOKEN
Content-Type: application/x-www-form-urlencoded

Parameters

ParameterRequiredDescription
client_idYesRegistered sandbox or approved production application
redirect_uriFlow dependentMust exactly match a registered redirect URI
scopeYesRequest only the minimum approved scopes
state / nonceRecommendedProtect flow integrity and bind the response

Response

Illustrative response
{
  "sub": "usr_...",
  "iss": "https://identity.mediloop.com",
  "aud": "$CLIENT_ID",
  "scope": "openid profile"
}

Security notes

Use least-privilege scopes, exact redirect URI matching, PKCE for public clients, short-lived access tokens and secure server-side storage for confidential credentials. Do not infer authorization from identity claims alone.

Errors

ErrorMeaning
invalid_requestMalformed or incomplete protocol request
invalid_clientClient authentication or registration failed
invalid_grantAuthorization grant is invalid or expired
access_deniedUser, policy or approval denied access