Jon Ayers
d0b1c36d51
fix: prevent refreshing tokens that don't exist ( #4661 )
...
- When logging in with Google OIDC refresh tokens are not
provided unless explicitly asked for. This PR updates
the logic to avoid attempting to refresh the token if
a refresh token does not exist.
A session should only be dependent on a valid Coder API
key, the state of its OAuth token (beyond initial authentication)
should be irrelevant.
2022-10-20 00:25:57 -05:00
..
2022-10-20 00:25:57 -05:00
2022-10-20 00:25:57 -05:00
2022-10-10 15:37:06 -05:00
2022-09-13 15:26:46 -04:00
2022-10-10 15:37:06 -05:00
2022-10-10 15:37:06 -05:00
2022-09-21 17:07:00 -05:00
2022-10-03 15:19:02 -05:00
2022-08-21 22:32:53 +00:00
2022-09-21 17:07:00 -05:00
2022-10-15 02:46:38 +10:00
2022-09-21 17:07:00 -05:00
2022-09-16 18:32:15 +00:00
2022-09-16 18:32:15 +00:00
2022-08-21 22:32:53 +00:00
2022-09-21 17:07:00 -05:00
2022-09-16 18:32:15 +00:00
2022-09-16 18:32:15 +00:00
2022-09-02 13:04:29 -05:00
2022-09-21 17:07:00 -05:00
2022-09-22 22:30:32 +00:00
2022-09-21 17:07:00 -05:00
2022-09-22 22:30:32 +00:00
2022-10-10 15:37:06 -05:00
2022-10-15 02:46:38 +10:00
2022-10-15 02:46:38 +10:00
2022-09-13 15:26:46 -04:00
2022-09-21 17:07:00 -05:00
2022-09-22 22:30:32 +00:00
2022-09-21 17:07:00 -05:00
2022-09-22 22:30:32 +00:00
2022-09-21 17:07:00 -05:00
2022-10-15 02:46:38 +10:00
2022-09-21 17:07:00 -05:00
2022-04-06 12:42:40 -05:00
2022-09-21 17:07:00 -05:00