Coggle requires JavaScript to display documents.
Host: server.example.com Content-Type: application/x-www-form-urlencoded Authorization: Basic SLmpoWdg0S9d9gik (if not exists then client_id and client_secret param)
HTTP/1.1 200 OK Content-Type: application/json { "access_token": "skjf98Uojodsrgt", "token_type" : "Bearer", "expires_in": 3600, "scope": "api1.read" }
code_challenge
code_verifier
https://authserver.example.com/authorize
?response_type=token
&client_id=Sksjdfi394
&redirect_uri=https://client.example.com/callback
&scope=api1.read
&state=xyz
https://client.example.com/callback
#access_token=qwer2342ert32
&token_type=example
&expires_in=3600
&state
POST /token HTTP/1.1 Host: server.example.com Content-Type: application/x-www-form-urlencoded Authorization: Basic LSKjdojntjowjlsKJLdsjlf
# Body grant_type=client_credentials &scope=api.read
HTTP/1.1 200 OK Content-Type: application/json { "access_token" : "sdfjskhlk", "token_type": "Bearer", "expires_in" : 3600, "scope": "api1.read" }
offline_access
refresh_token
grant_type=refresh_token &refresh_token=<refresh_token> &scope=api1
grant_type
token