1
0
Fork 0
mirror of https://github.com/pomerium/pomerium.git synced 2025-06-04 03:42:49 +02:00
Commit graph

15 commits

Author SHA1 Message Date
Caleb Doxsey
d225288ab3
core/identity: dynamic authenticator registration () 2024-05-07 16:45:39 -06:00
Caleb Doxsey
1a5b8b606f
core/lint: upgrade golangci-lint, replace interface{} with any ()
* core/lint: upgrade golangci-lint, replace interface{} with any

* regen proto
2024-05-02 14:33:52 -06:00
Caleb Doxsey
23ea48815f
core/authorize: check for expired tokens ()
* core/authorize: check for expired tokens

* Update pkg/grpc/session/session.go

Co-authored-by: Denis Mishin <dmishin@pomerium.com>

* lint

* fix zero timestamps

* fix

---------

Co-authored-by: Denis Mishin <dmishin@pomerium.com>
2023-09-15 16:06:13 -06:00
Caleb Doxsey
3f9dfbef76
device: add generic methods for working with user+session devices () 2022-10-28 08:41:12 -06:00
Caleb Doxsey
36f73fa6c7
authorize: track session and service account access date ()
* session: add accessed at date

* authorize: track session and service account access times

* Revert "databroker: add support for field masks on Put ()"

This reverts commit 2dc778035d.

* add test

* fix data race in test

* add deadline for update

* track dropped accesses
2022-03-31 09:19:04 -06:00
Caleb Doxsey
1342523cda
grpc: remove ptypes references () 2022-02-24 08:37:59 -07:00
Caleb Doxsey
ddccbcf631
devices: add device protobuf types () 2021-10-19 07:22:26 -06:00
Caleb Doxsey
6af0655206
protoutil: add NewAny method for deterministic serialization () 2021-08-09 17:51:57 -06:00
Caleb Doxsey
5d60cff21e
databroker: refactor databroker to sync all changes ()
* 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
Caleb Doxsey
6cc720a1b5
fix error wrapping () 2021-01-05 12:46:14 -07:00
Caleb Doxsey
10b5c5ca0e
fix querying claim data on the dashboard () 2020-10-29 10:49:02 -06:00
Caleb Doxsey
153e438eb6
authorize: implement allowed_idp_claims ()
* add arbitrary claims to session

* add support for maps

* update flattened claims

* fix eol

* fix trailing whitespace

* fix tests
2020-10-23 14:05:37 -06:00
Caleb Doxsey
0a6796ff71
authorize: add support for service accounts () 2020-09-04 10:37:00 -06:00
Caleb Doxsey
97f85481f8
fix redirect loop, remove user/session services, remove duplicate deleted_at fields ()
* fix redirect loop, remove user/session services, remove duplicate deleted_at fields

* change loop

* reuse err variable

* wrap errors, use cookie timeout

* wrap error, duplicate if
2020-07-30 09:41:57 -06:00
Caleb Doxsey
091b71f12e
grpc: rename internal/grpc to pkg/grpc ()
* grpc: rename internal/grpc to pkg/grpc

* don't ignore pkg dir

* remove debug line
2020-06-26 09:17:02 -06:00
Renamed from internal/grpc/user/user.go (Browse further)