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

Body Params application/json

Example
{
    "name": "myapp",
    "description": "application description",
    "type": "management",
    "accessType": "read",
    "modules": [
        "user"
    ]
}

Request Code 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

Example
{
    "apiKey": ""
}
Modified at 2023-02-21 03:33:15
Previous
is-allowed
Next
delete
Built with