Steven Masley
537260aa22
fix: early oidc refresh with fake idp tests ( #22712 )
...
Wrote unit tests that implement a fake idp to verify the oauth package
actually refreshes the token
2026-03-06 16:51:27 +00:00
Steven Masley
c805c8c02c
chore: setting time forward for expiration math ( #22687 )
...
It was set backwards, which allowed invalid refresh tokens. Making
things worse.
2026-03-06 12:29:54 +00:00
Steven Masley
f49dea683c
chore: prematurely refresh oidc token near expiry during workspace build ( #22502 )
...
Closes https://github.com/coder/coder/issues/22429
2026-03-03 18:13:00 +00:00
Hugo Dutka
910858b731
chore(coderd/provisionerdserver): convert dbmem tests to use postgres ( #18278 )
2025-06-09 10:05:29 +02:00
Cian Johnston
591cefa428
fix(coderd/provisionerdserver): prevent NPE if no user link exists ( #15289 )
2024-10-30 19:16:59 +00:00
Kyle Carberry
5abfe5afd0
chore: rename dbfake to dbmem ( #10432 )
2023-10-30 17:42:20 +00:00
Mathias Fredriksson
19d7da3d24
refactor(coderd/database): split Time and Now into dbtime package ( #9482 )
...
Ref: #9380
2023-09-01 16:50:12 +00:00
Kyle Carberry
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
Kyle Carberry
df31636e72
feat: pass access_token to coder_git_auth resource ( #6713 )
...
This allows template authors to leverage git auth to perform
custom actions, like clone repositories.
2023-03-22 19:37:08 +00:00
Kyle Carberry
c3fb1b325f
feat: add owner_oidc_access_token to coder_workspace data source ( #6042 )
...
See the discussion in Discord here:
https://discord.com/channels/747933592273027093/1071182088490987542/1071182088490987542
Related provider PR: coder/terraform-provider-coder#91
2023-03-17 15:25:08 -05:00