0
No votes yet
This is the <b>OAuth</b> service that can be called to return the OAuth 2.0 Authorisation Server Metadata specification.
production
development
https://api.apistorebt.ro/bt/sb
Paths
/token
post /token
code
Required in formData
string
Code obtained from the authorisation endpoint
grant_type
Required in formData
string
Must be set to authorization_code
redirect_uri
Required in formData
string
The value of the redirect_uri parameter included in the original authentication request
client_id
Required in formData
string
The client ID obtained from registration
client_secret
Required in formData
string
The client secret obtained from registration
code_verifier
Required in formData
string
The code verifier for Proof Key of Code Exchange
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
8a20200f-5099-409b-b858-dcfb3fe2e8ba
dragos.panaitescu@itsmartsystems.eu
8a20200f-5099-409b-b858-dcfb3fe2e8ba
dragos.panaitescu@itsmartsystems.eu
200
200 OK
Example Request
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/.well-known/oauth-authorization-server
get /.well-known/oauth-authorization-server
endpoint for Authorization Code and Implicit grants
description
Accept
Optional in header
string
text/html
200
An HTML form for authentication or authorization of this request.
302
Redirect to the clients redirect_uri containing one of the following
- authorization code for Authorization code grant
- access token for Implicity grant
- error in case of errors, such as the user has denied the request
Example Request
Example Response
GET https://api.apistorebt.ro/bt/sb/oauth/.well-known/oauth-authorization-server
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/register
post /register
definition_name
Required in path
string
Oauth definition name
body
Required in body
object
Request Body
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
8a20200f-5099-409b-b858-dcfb3fe2e8ba
dragos.panaitescu@itsmartsystems.eu
8a20200f-5099-409b-b858-dcfb3fe2e8ba
dragos.panaitescu@itsmartsystems.eu
200
200 OK
Example Request
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"properties": {
"tppMessages": {
"$ref": "#/definitions/TppMessages"
}
},
"additionalProperties": false
}
{
"properties": {
"category": {
"type": "string"
},
"code": {
"properties": [],
"type": "string"
},
"text": {
"properties": [],
"type": "string"
}
},
"additionalProperties": false
}
{
"type": "array",
"items": {
"$ref": "#/definitions/TppMessage"
}
}
{
"type": "object",
"properties": {
"redirect_uris": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of redirection URI strings for use in redirect-based authorization flow."
},
"company_name": {
"type": "string",
"description": "Company Name"
},
"client_name": {
"type": "string",
"description": "Client APP Name"
},
"company_url": {
"type": "string",
"description": "Contact Company URL"
},
"contact_person": {
"type": "string",
"description": "Contact Person Name"
},
"email_address": {
"type": "string",
"description": "Contact Email Address"
},
"phone_number": {
"type": "string",
"description": "Contact Phone Number"
}
},
"example": {
"redirect_uris": [
"https://apistorebt.ro",
"https://api.apistorebt.ro"
],
"company_name": "TPP Corp.",
"client_name": "Third Party Provider Application",
"company_url": "https://apistorebt.ro",
"contact_person": "Contact TPP",
"email_address": "contact.tpp@test.com",
"phone_number": "+40700000000"
},
"required": [
"redirect_uris",
"client_name"
],
"additionalProperties": false
}
{
"type": "object",
"properties": {
"contact_person": {
"type": "string"
},
"redirect_uris": {
"type": "array",
"items": {
"type": "string"
}
},
"registration_access_token": {
"type": "string"
},
"client_id": {
"type": "string"
},
"email_address": {
"type": "string"
},
"client_secret_expires_at": {
"type": "number"
},
"company_name": {
"type": "string"
},
"company_url": {
"type": "string"
},
"phone_number": {
"type": "string"
},
"client_secret": {
"type": "string"
},
"client_id_issued_at": {
"type": "number"
},
"client_name": {
"type": "string"
}
},
"example": {
"contact_person": "Contact TPP",
"redirect_uris": [
"https://apistorebt.ro",
"https://api.apistorebt.ro"
],
"registration_access_token": "kkpjpasdw234240Cuqn3M",
"client_id": "jSkcQZhgjg346xziIQPKVxp7",
"email_address": "contact.tpp@test.com",
"client_secret_expires_at": 0,
"company_name": "TPP Corp.",
"company_url": "https://apistorebt.ro",
"phone_number": "+40700000000",
"client_secret": "b5HSXnjh5642NvdRlct",
"client_id_issued_at": 1572957891,
"client_name": "Third Party Provider Application"
}
}
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"grant_type": {
"type": "string"
},
"redirect_uri": {
"type": "string"
},
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string"
},
"code_verifier": {
"type": "string"
}
},
"example": "{\r\n\"code\":\"BlRH7RDGtvMmMgWAIHI47C28Ab\",\r\n\"grant_type\":\"authorization_code\",\r\n\"redirect_uri\":\"https://apistorebt.ro\",\r\n\"client_id\":\"A27aa3567aghasdYrUI\",\r\n\"client_secret\":\"H7VxZbrasAA2rwaCrBtq\",\r\n\"code_verifier\":\"x4x0BasdmTD5GvjufgHlvjdRnJg8\"\r\n}"
}