pomerium/internal/identity
Caleb Doxsey 5d60cff21e
databroker: refactor databroker to sync all changes (#1879)
* refactor backend, implement encrypted store

* refactor in-memory store

* wip

* wip

* wip

* add syncer test

* fix redis expiry

* fix linting issues

* fix test by skipping non-config records

* fix backoff import

* fix init issues

* fix query

* wait for initial sync before starting directory sync

* add type to SyncLatest

* add more log messages, fix deadlock in in-memory store, always return server version from SyncLatest

* update sync types and tests

* add redis tests

* skip macos in github actions

* add comments to proto

* split getBackend into separate methods

* handle errors in initVersion

* return different error for not found vs other errors in get

* use exponential backoff for redis transaction retry

* rename raw to result

* use context instead of close channel

* store type urls as constants in databroker

* use timestampb instead of ptypes

* fix group merging not waiting

* change locked names

* update GetAll to return latest record version

* add method to grpcutil to get the type url for a protobuf type
2021-02-18 15:24:33 -07:00
..
identity store raw id token so it can be passed to the logout url (#1543) 2020-10-26 10:20:23 -06:00
manager databroker: refactor databroker to sync all changes (#1879) 2021-02-18 15:24:33 -07:00
oauth authenticate: delay evaluation of OIDC provider (#1802) 2021-01-26 09:20:56 -07:00
oidc onelogin: fix default scopes for v2 (#1896) 2021-02-17 08:51:13 -07:00
claims.go store raw id token so it can be passed to the logout url (#1543) 2020-10-26 10:20:23 -06:00
claims_test.go authorize: implement allowed_idp_claims (#1542) 2020-10-23 14:05:37 -06:00
mock_provider.go authenticate: delay evaluation of OIDC provider (#1802) 2021-01-26 09:20:56 -07:00
providers.go authenticate: delay evaluation of OIDC provider (#1802) 2021-01-26 09:20:56 -07:00