-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update broker to not rely on offline expiration
We used to have a limited amount of time for the user to authenticate offline. Now we allow offline authentication as long as the user have a token.
- Loading branch information
1 parent
70f110d
commit 4d1fc4d
Showing
10 changed files
with
26 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
...ted/golden/authenticating_with_password_still_allowed_if_server_is_unreachable/first_call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
access: granted | ||
data: |- | ||
{"userinfo": { | ||
"name": "test-user@email.com", | ||
"uuid": "saved-user-id", | ||
"gecos": "saved-user", | ||
"dir": "/home/test-user@email.com", | ||
"shell": "/usr/bin/bash", | ||
"groups": [ {"name": "remote-group", "ugid": "12345"}, {"name": "linux-local-group", "ugid": ""} ] | ||
}} | ||
err: <nil> |
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions
3
...icated/golden/error_when_mode_is_password_and_server_offline_and_token_expired/first_call
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters