mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 12:59:06 +01:00
Correct jwt docs
This commit is contained in:
parent
19d645f65c
commit
9e3ba41746
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user