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
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
[
{
"name": "GitHub",
"icon": "github-logo",
"url": "/oauth2/authorization/8352f191-2b4d-11ec-9ed1-cbf57c026ecc"
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.