Add token info

This commit is contained in:
Niklas Fondberg
2021-08-13 13:42:14 +02:00
committed by GitHub
parent b6cdf39c57
commit 234996abfd
+3 -1
View File
@@ -13,7 +13,9 @@ $ docker compose build
$ docker compose up $ docker compose up
``` ```
Then head over to [The playground GUI](https://localhost:4000) in the browser For browse query testing use Insomnia or similar tool with token from `<url to photowall>/admin/auth/token`
Take the value of the token param and add header in insomnia:Authorization: Bearer <token>. The token is valid for 2-3 hours.
See context function of src/index.ts for Authentication options for development. See context function of src/index.ts for Authentication options for development.