Jim
a679300b50
feature (events): Classify auth method request/resp messages for audit events. ( #1640 )
...
* refactor (oidc): Stop emitting error for not found token id
Stop emitting errors when authtoken repo.IssueAuthToken is called and
there's if no pending token. It's not an "normal" state and not
an error condition.
* feature (audit tagging): Add tags for auth method requests/responses
Including testing functions for asserting audit events created
when a service is called
2021-10-27 09:37:14 -04:00
s-christoff and Jim
6b78108ecf
Update primary error functions to take a context, deprecate old functions ( #1358 )
...
* add new error funcs which take a ctx and deprecate existing funcs
* use context where available when writing error events
* remove circular internal/errors pkg dep
* suppress some chatty errors using errors.WithoutEvent()
* convert auth oidc funcs to take context where needed to write events
Co-authored-by: Jim <jlambert@hashicorp.com >
2021-07-29 20:52:56 -04:00
dd0f34bc35
Add new OIDC auth method. ( #1090 )
...
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com >
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com >
2021-04-08 20:54:32 -04:00
Louis Ruch
7387cec475
Remove sentinel errors ( #968 )
...
* Remove sentinal errors
2021-03-05 06:34:06 -08:00
s-christoff
6623be8bfb
Refactor internal/auth to return domain specific errors ( #905 )
...
* Refactor internal/auth to return domain specific errors
2021-02-11 13:32:45 -06:00
Jim
ffcda56f40
a small refactor, so we can easily support options when creating new auth tokens. ( #920 )
2021-02-10 13:52:42 -05:00
s-christoff
81785e139f
[enhancement] Refactor authtoken repo to return domain specific errors ( #876 )
2021-02-03 17:34:46 -06:00
Jeff Mitchell
6cd97a4a6e
Add support for recursive listing ( #885 )
2021-01-25 19:37:40 -05:00
Louis Ruch
bfbb179741
ICU-738/Refactor internal/db to domain errors ( #815 )
...
* Refactor internal/db to domain errors
2020-12-21 10:07:34 -08:00
Jeff Malnick and Jeff Mitchell
11c7c8dbe8
feat: make auth token staleness and duration configurable ( #777 )
...
* feat: make auth token time to live and staleness configurable
* docs: add configuration docs for auth token TTL and staleness
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2020-11-16 10:39:18 -08:00
Jim
af6ef1b687
Refactor existing sentinel errors ( #774 )
2020-11-05 16:54:03 -05:00
Jim
e119466233
stop oplogging tokens and allow for a time skew ( #343 )
2020-09-10 16:37:45 -04:00
Michael Gaffney
de162c5533
Replace and remove ErrNilParameter with ErrInvalidParameter ( #295 )
2020-08-25 12:18:14 -04:00
Jim
9570897032
basic keys mgmt repo ( #264 )
2020-08-19 16:47:18 -04:00
Jeff Mitchell
6661117d4c
The name. The name. The name!
2020-08-10 17:15:02 -04:00
Jim
1c836c430b
support for associating/disassociating an auth account with a user ( #233 )
2020-08-10 15:17:15 -04:00
Todd Knight
a0bed2b5d7
Truncate instead of round timestamps so our tests that require a time to pass can succeed. ( #224 )
2020-07-28 08:59:09 -04:00
Todd Knight
25514fb553
Fix a failing test due to time resolutions mismatch. ( #221 )
...
* Round generated expiration timestamps to the nearest second.
2020-07-27 14:06:59 -07:00
Todd Knight
6de1f7ee16
Auth Token Read/List/Delete handler and Go SDK ( #199 )
...
* Creating Auth Token Get List and Delete API.
2020-07-23 09:53:37 -07:00
Todd Knight
2ce9affeea
Don't use repo to check impossible token requests and repo doesn't return error on token value mismatch. ( #171 )
...
* Remove error when tokens mismatch from public id but log returned errors from repo.
2020-07-08 09:09:09 -07:00
Todd Knight
f69d6b9952
Creating Auth Token Repo ( #125 )
2020-07-07 07:44:49 -07:00