Discover where to sign in to this site, and what to ask for.

GET /.well-known/oauth-protected-resource

GET https://dev.zanhosting.com/.well-known/oauth-protected-resource

Operation ID .well-known.oauth-protected-resource.get
Access Anyone

Responses

StatusDescriptionSchemaContent type
200 The site's protected resource metadata. ProtectedResourceMetadata application/json
Any other status The request was refused. The problem's type names why, and its detail explains it for people to read. Problem application/json

200 The site's protected resource metadata.

PropertyTypeDescription
resource string (https-url) Required This site's URL, which tokens for this site carry as their resource.
authorization_servers list of string (https-url) Required The issuer that signs tokens for this site. Its discovery document is at /.well-known/openid-configuration under the issuer's URL.
bearer_methods_supported list of string Required How to send a token: in the Authorization header, as a Bearer token.
scopes_supported list of string Required The entitlements this site checks. An app can ask for them as scopes.

Any other status: The request was refused. The problem's type names why, and its detail explains it for people to read.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required An explanation of what went wrong, written for people to read.
instance string Required The path the request was sent to.

Example

curl -X GET 'https://dev.zanhosting.com/.well-known/oauth-protected-resource'

All documentation

0 database statements · 12 reads from the cache · 0.0 ms waiting for the database · 38.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache