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

Operations-ID .well-known.oauth-protected-resource.get
Zugriff Jeder

Antworten

StatusBeschreibungSchemaInhaltstyp
200 The site's protected resource metadata. ProtectedResourceMetadata application/json
Jeder andere 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.

EigenschaftTypBeschreibung
resource string (https-url) Erforderlich This site's URL, which tokens for this site carry as their resource.
authorization_servers list of string (https-url) Erforderlich 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 Erforderlich How to send a token: in the Authorization header, as a Bearer token.
scopes_supported list of string Erforderlich The entitlements this site checks. An app can ask for them as scopes.

Jeder andere Status: The request was refused. The problem's type names why, and its detail explains it for people to read.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

Beispiel

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

Gesamte Dokumentation

0 Datenbankabfragen · 12 Lesezugriffe aus dem Cache · 0.0 ms Wartezeit auf die Datenbank · 26,0 MiB Spitzenspeicher
public.settingsSELECTaus dem Cache
public.mesh_nodesSELECTaus dem Cache
public.fqdnsSELECTaus dem Cache
public.sitesSELECTaus dem Cache
public.api_buildsSELECTaus dem Cache
public.docs_guidesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.api_buildsSELECTaus dem Cache
public.docs_guidesSELECTaus dem Cache