mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
docs: add responses when client credentials are incorrect
* docs: add responses when client credentials are incorrect * fix: comment Joachim * Revert "fix: comment Joachim" This reverts commit aac6c738318e874101be044523a7679d53b74617. * fix: my own damn mess
This commit is contained in:
parent
b5106ceaee
commit
50bb8cf923
@ -40,6 +40,11 @@ const response = await fetch('http://localhost:3000/idp/credentials/', {
|
|||||||
const { id, secret } = await response.json();
|
const { id, secret } = await response.json();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If there is something wrong with your input the response code will be 500.
|
||||||
|
If no account is linked to the email,
|
||||||
|
the message will be "Account does not exist" and
|
||||||
|
if the password is wrong it will be "Incorrect password".
|
||||||
|
|
||||||
## Requesting an Access token
|
## Requesting an Access token
|
||||||
|
|
||||||
The ID and secret combination generated above can be used to request an Access Token from the server.
|
The ID and secret combination generated above can be used to request an Access Token from the server.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user