This commit is contained in:
jay brown
2025-04-29 14:09:33 -07:00
parent a62b604b07
commit 0088420a3b
+10 -1
View File
@@ -11,4 +11,13 @@ This is why this module must not pollute the top level modules go.mod. If it di
for this entire project would have to have a massive amount of chrome dependencies added instead of just being
able to run on a scrath container.
To run the tests just run `./test.sh` from this directory.
To run the tests just run `./test.sh` from this directory.
## Obtaining a reusable JWT token
If you observe the log output of running test.sh and look for
```msg="Raw Access Token" token= xxx...```
You can copy that token value and reuse it until it expires which
by default is one hour after the creation of the token.
It will look like this example (actual token)
```msg="Raw Access Token" token=eyJraWQiOiJVMFwvbW04QXJUN1FWMDZMRThjdjRqaUk5eEpSaG1Zak1PbTYzNHRPemhFZz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJlMTJiYjUxMC0zMGUxLTcwNjItYTY5YS1jYTdmM2YzOGQ4MGUiLCJjb2duaXRvOmdyb3VwcyI6WyJ1cGxvYWRlcnMiLCJxdWVyeWJ1aWxkZXJzIl0sImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTIuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0yXzF5NnBvOHJSOCIsInZlcnNpb24iOjIsImNsaWVudF9pZCI6IjU1MmNxa2YzNjQwdDM5bmNlaGttZ3BjZTMxIiwib3JpZ2luX2p0aSI6IjdkZmM2MjU4LWU5MzMtNDY0NS1iMmQzLThkYjhiZWZhYTU1NCIsImV2ZW50X2lkIjoiZDY5M2Q3MjEtZmI5MS00ZmRkLWEyZWQtMTY2ZTNiODlkMTVjIiwidG9rZW5fdXNlIjoiYWNjZXNzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsImF1dGhfdGltZSI6MTc0NTk2MDQyNCwiZXhwIjoxNzQ1OTY0MDI0LCJpYXQiOjE3NDU5NjA0MjQsImp0aSI6ImRlNWI3ZWFkLWM3N2QtNGFhMC1iNjFhLTRiOGRkMWQxMWMwZiIsInVzZXJuYW1lIjoidGVzdH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