Rotate Access token with refresh token (#280)

Add method for rotating access token with refresh tokens
This will be useful for catching expired sessions and
offboarding users

Also added functions to handle secrets. They have to be revisited
as some tests didn't run on CI as they waited some user input, like password
This commit is contained in:
Maycon Santos
2022-03-22 13:12:11 +01:00
committed by GitHub
parent 76db9afa11
commit a2fc4ec221
9 changed files with 329 additions and 46 deletions

View File

@@ -26,4 +26,4 @@ jobs:
run: go mod tidy
- name: Test
run: go test -exec sudo -timeout 5m -p 1 ./...
run: go test -exec 'sudo --preserve-env=CI' -timeout 5m -p 1 ./...