Authentication
Check datasource authorization
Changed onReturns all datasource instances that require per-user OAuth authorization for the authenticated user, along with a transient auth token that can be appended to auth URLs to complete OAuth flows.
Clients construct the full OAuth URL by combining the backend base URL, the authUrlRelativePath from each instance, and the transient auth token: <backend>/<authUrlRelativePath>?transient_auth_token=<token>.
post/rest/api/v1/checkdatasourceauth
Request
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/rest/api/v1/checkdatasourceauth
- Auth: HTTP bearer
Response
OK
Example response
{
"unauthorizedDatasourceInstances": [
{
"datasourceInstance": "slack_0",
"displayName": "Slack"
}
]
}Changes
- info
the endpoint scheme security
APITokenwas added to the API
- info
- info
the endpoint scheme security
APITokenwas removed from the API
- info