SSO
  1. applications
SSO
  • sso
    • admin
      • account-create
      • account-suspend
      • account-unsuspend
      • account-bind-wallet
    • applications
      • scope
        • add
        • delete
      • user
        • add
        • update
        • delete
        • user-all
        • is-allowed
      • create
        POST
      • delete
        DELETE
      • new-api-key
        POST
      • all
        GET
      • all-own
        GET
      • details
        GET
      • is-owner
        GET
    • auth
      • token
        • token-refresh
      • register
        • register
        • request-email-code
        • verify-email-code
      • password
        • password-reset
        • request-email-code
        • verify-email-code
      • discord
        • authorize-URL
        • login
      • login
      • auth-me
      • logout
    • auth-eth
      • login-challenge
      • login
      • bind-account
      • bind-challenge
      • is-bound
    • access
      • planning
        • session
          • get
          • all
          • find
          • create
          • update
          • delete
        • assistant
          • create-sessions
          • delete-sessions
        • get
      • pbe-access
        • is-authorized
    • newsletter
      • get-subscribers
    • user
      • me
        • email
          • update
        • password
          • update
      • role
        • all
        • update-role
        • update-role-batch
        • delete-role
        • delete-role-batch
      • all
      • find
    • wallet
      • find-owner
      • find-wallet
    • Get API version
      GET
  1. applications

create

Developing
POST
https://sso.dlab.ovh/api/applications
Internal application to delegate the authentication process to an API key. Users can create either personal or management application.
For Delysium, backend application can use the management application to access data without having to deal with JWT validity. They can also manage their own internal user & roles within that application.

Request

Header Params
Authorization
string 
required
Example:
Bearer {{token}}
Body Params application/json
name
string 
required
description
string 
required
type
enum<string> 
application type
required
Allowed values:
personalmanagement
accessType
enum<string> 
application access
required
Allowed values:
readwritereadwrite
modules
array[string]
api scopes
required
Allowed values:
walletdiscordplanningwhitelistapplicationnewsletteruser
Example
{
    "name": "myapp",
    "description": "application description",
    "type": "management",
    "accessType": "read",
    "modules": [
        "user"
    ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sso.dlab.ovh/api/applications' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "myapp",
    "description": "application description",
    "type": "management",
    "accessType": "read",
    "modules": [
        "user"
    ]
}'

Responses

🟢200Success
application/json
Body
apiKey
string 
application api-key
required
use it in header API-KEY field to make request with your application
Example
{
    "apiKey": ""
}
Previous
is-allowed
Next
delete
Built with