Correct jwt docs

This commit is contained in:
Jan Eitzinger 2023-08-12 09:30:33 +02:00
parent 19d645f65c
commit 9e3ba41746

View File

@ -27,9 +27,8 @@ $ ./gen-keypair
2. Add keypair in your `.env` file. A template can be found in `./configs`. 2. Add keypair in your `.env` file. A template can be found in `./configs`.
There are two usage scenarios: There are two usage scenarios:
* The APIs are used during a browser session. In this case on login a JWT token * The APIs are used during a browser session. API accesses are authorized with
is issued on login, that is used by the web frontend to authorize against the the active session.
GraphQL and REST APIs.
* The REST API is used outside a browser session, e.g. by scripts. In this case * The REST API is used outside a browser session, e.g. by scripts. In this case
you have to issue a token manually. This possible from within the you have to issue a token manually. This possible from within the
configuration view or on the command line. It is recommended to issue a JWT configuration view or on the command line. It is recommended to issue a JWT