latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

o-auth-2-controller

Get OAuth2 clients (getOAuth2Clients)

Get the list of OAuth2 clients to log in with, available for such domain scheme (HTTP or HTTPS) (if x-forwarded-proto request header is present - the scheme is known from it) and domain name and port (port may be known from x-forwarded-port header)

post/api/noauth/oauth2Clients

Query parameters

pkgNamestring

Mobile application package name, to find OAuth2 clients where there is configured mobile application with such package name

platform'WEB' | 'ANDROID' | 'IOS'

Platform type to search OAuth2 clients for which the usage with this platform type is allowed in the settings. If platform type is not one of allowable values - it will just be ignored

Response

OK

namestring

OAuth2 client name

iconstring

Name of the icon, displayed on OAuth2 log in button

urlstring

URI for OAuth2 log in. On HTTP GET request to this URI, it redirects to the OAuth2 provider page

Example response

[
  {
    "name": "GitHub",
    "icon": "github-logo",
    "url": "/oauth2/authorization/8352f191-2b4d-11ec-9ed1-cbf57c026ecc"
  }
]