From a51cbca61653d5c6d39b01d2796f48d462850eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arwid=20Thornstr=C3=B6m?= Date: Thu, 31 Aug 2023 19:42:39 +0200 Subject: [PATCH] Updated readme (#155) --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 7303964..1505de1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Third party systems like Unbox (Synergy) will use the `graphql.photowall.com` to ## Running queries on staging or production servers To tests staging or production servers its possible to run the login rest endpoint to get a Bearer access token. Check SSM for the stacks -`${EnvironmentName}/GRAPHQL_WEB_CLIENT_USERNAME` and `${EnvironmentName}/GRAPHQL_WEB_CLIENT_PASSWORD` and use those as Basic auth for the /login route. +`${EnvironmentName}/GRAPHQL_WEB_CLIENT_USERNAME` and `${EnvironmentName}/GRAPHQL_WEB_CLIENT_PASSWORD` and use those as Basic auth for the /login route. To get a token from admin go to the route /auth/token. You can then use that token as a Bearer token in apps like Insomnia. ## Running it locally @@ -45,7 +45,6 @@ If you use Insomnia ask a colleague for the queries that can be exported/importe Run `make publish-to-staging`. Please note that further commits on the same branch will not be updated automatically and the same command must be run again if changes are made. - ### Run prod-like container locally Run