Get OAuth authorization server metadata
curl --request GET \
--url https://api.webstashai.com/.well-known/oauth-authorization-server \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/.well-known/oauth-authorization-server', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/.well-known/oauth-authorization-server"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"issuer": "<string>",
"authorization_endpoint": "<string>",
"token_endpoint": "<string>",
"registration_endpoint": "<string>",
"response_types_supported": [
"<string>"
],
"grant_types_supported": [
"<string>"
],
"code_challenge_methods_supported": [
"<string>"
],
"token_endpoint_auth_methods_supported": [
"<string>"
]
}Get OAuth authorization server metadata
GET
https://api.webstashai.com
/
.well-known
/
oauth-authorization-server
Get OAuth authorization server metadata
curl --request GET \
--url https://api.webstashai.com/.well-known/oauth-authorization-server \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/.well-known/oauth-authorization-server', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/.well-known/oauth-authorization-server"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"issuer": "<string>",
"authorization_endpoint": "<string>",
"token_endpoint": "<string>",
"registration_endpoint": "<string>",
"response_types_supported": [
"<string>"
],
"grant_types_supported": [
"<string>"
],
"code_challenge_methods_supported": [
"<string>"
],
"token_endpoint_auth_methods_supported": [
"<string>"
]
}Authorizations
Response
200 - application/json
OAuth discovery document
