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

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

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

ID da operação .well-known.oauth-protected-resource.get
Acesso Qualquer pessoa

Respostas

StatusDescriçãoEsquemaTipo de conteúdo
200 The site's protected resource metadata. ProtectedResourceMetadata application/json
Qualquer outro 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.

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

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

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

Exemplo

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

Toda a documentação

0 instrução de banco de dados · 14 leituras do cache · 0.0 ms aguardando o banco de dados · 24,0 MiB de pico de memória
public.settingsSELECTdo cache
public.mesh_nodesSELECTdo cache
public.fqdnsSELECTdo cache
public.sitesSELECTdo cache
public.api_buildsSELECTdo cache
public.docs_guidesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.filesSELECTdo cache
public.api_buildsSELECTdo cache
public.docs_guidesSELECTdo cache