The Login API provides means for completing OAuth flow and reading information about logged in user via Platform of Trust's login app.
Note: All endpoints for Login portal API have following base URL - https://login.oftrust.net/api
curl -i --request POST \ --url "https://api-sandbox.oftrust.net/exchangeToken" \ --header "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9eyJzY29w...DVs5aaf" \ --header "content-type: application/json" \ --data "{ }"
curl -i --request GET \ --url https://api-sandbox.oftrust.net/me \ --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9eyJzY29w...DVs5aaf'
NOTE: checkout doc.oftrust.net to see required parameters in the requests to the Identity API and code samples in Java, Python and JavaScript.
Download Open API Specification (OAS) for Login here
Download RESTful API Modeling Language (RAML) specifications for Login here
Checkout API endpoint, HTTP calls and associated parameters in details at docs.oftrust.net
Read on how to get your Bearer Token to start accessing and using Platform of Trust APIs in this Guide
Read more about creating oAuth 2.0 flow in registered apps in our Integrate OAuth 2.0 to access APIs guide
Read about Platform of Trust Sandbox in this guide.
ProgrammableWeb
Have a question on Login API? Shoot it in Platform of Trust Stack Overflow community page.
Did Login API miss some features? Make a Wish in GitHub.