pomerium/pkg/ssh
Caleb Doxsey 622519e901
databroker: update identity manager to use route credentials (#5728)
## Summary
Currently when we refresh sessions we always use the global IdP
credentials. This PR updates the identity manager to use route settings
when defined.

To do this a new `idp_id` field is added to the session stored in the
databroker.

## Related issues
-
[ENG-2595](https://linear.app/pomerium/issue/ENG-2595/refresh-using-custom-idp-uses-wrong-credentials)
- https://github.com/pomerium/pomerium/issues/4759

## Checklist

- [x] reference any related issues
- [x] updated unit tests
- [x] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [x] ready for review
2025-07-15 18:04:36 -06:00
..
mock ssh: implement authorization policy evaluation (#5665) 2025-07-01 12:04:00 -07:00
auth.go databroker: update identity manager to use route credentials (#5728) 2025-07-15 18:04:36 -06:00
auth_test.go ssh: improve 'whoami' format (#5714) 2025-07-10 15:57:07 -04:00
channel.go
channel_impl.go
channel_impl_test.go
cli.go
flow_control.go
manager.go ssh: continuous authorization (#5687) 2025-07-02 12:01:25 -07:00
manager_test.go ssh: continuous authorization (#5687) 2025-07-02 12:01:25 -07:00
messages.go
ssh_int_test.go ssh: improve 'whoami' format (#5714) 2025-07-10 15:57:07 -04:00
stream.go ssh: add runtime flag for jump host mode (#5699) 2025-07-07 12:29:05 -04:00
stream_test.go ssh: add runtime flag for jump host mode (#5699) 2025-07-07 12:29:05 -04:00