Livio Amstutz
5119d7aea3
begin refresh token
2021-04-29 09:20:01 +02:00
Livio Amstutz
1518c843de
feat: token introspection ( #83 )
...
* introspect
* introspect and client assertion
* introspect and client assertion
* scopes
* token introspection
* introspect
* refactoring
* fixes
* clenaup
* Update example/internal/mock/storage.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* clenaup
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2021-02-15 13:43:50 +01:00
Fabi
2370409a55
fix: allow additional scopes ( #69 )
...
* feat: allow additional scopes
* fix: mocks and tests
* fix: restrict additional scopes
* fix: restrict additional scopes
* fix: remove comments
* fix: remove comments
2020-11-03 08:07:02 +01:00
Livio Amstutz
5cc884766e
improve ValidateAuthReqScopes
2020-10-15 14:02:53 +02:00
Livio Amstutz
b311610d06
feat: check allowed scopes (and pass clientID to GetUserinfoFromScopes)
2020-10-07 08:44:26 +02:00
Livio Amstutz
542ec6ed7b
refactoring
2020-09-25 16:41:25 +02:00
Livio Amstutz
8790b54e0d
update some op interfaces
2020-09-15 07:25:44 +02:00
Livio Amstutz
143ff3482c
change verifier interfaces
2020-09-11 10:45:07 +02:00
Livio Amstutz
eaf47fde8e
change some interfaces
2020-09-09 16:00:19 +02:00
Livio Amstutz
abd3b6f521
fix: handle single aud
string claim, extract en/decoder interface, comments ( #51 )
...
* en/decoding abstraction
* some comments
* fix token validation and error messages
* fix: audience mapping (single aud string)
* fix tests with VerifyIdToken
* reformat imports
* go mod tidy
* Update pkg/oidc/authorization.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update pkg/oidc/authorization.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update pkg/op/authrequest_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix capitalization
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-09-07 12:32:35 +02:00
Fabi
c6e22dff69
feat: dev mode on client, check client configuration ( #41 )
...
* fix: tests
* fix: tests
* fix: tests
2020-08-06 13:10:49 +02:00
Fabi
3507057c66
fix: remove bracket ( #40 )
2020-07-29 09:01:13 +02:00
JCustin
e6356f101d
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:26:14 -07:00
JCustin
c68975601b
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:26:04 -07:00
JCustin
b2d043a84f
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:53 -07:00
JCustin
f552b1cd3f
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:41 -07:00
JCustin
f6f8cbacc5
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:25 -07:00
JCustin
cd1c3642d1
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:17 -07:00
JCustin
d653ed7112
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:08 -07:00
JCustin
858a52759a
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:24:59 -07:00
JCustin
9c8698da56
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:24:48 -07:00
JCustin
e54ab63c1c
Update authrequest.go
...
Rewrote error messages with a consistent structure to explain said errors, as well as a transition to the administrator's contact information. The administrator's information will needed to be plugged in by a more knowledgeable contributor.
Note that because I am not familiar with Go, some of the error messages may have an incorrect explanation for the error. I encourage a double check on the terminology and logic explained in my messages. If there are any errors, please correct the terminology and logic while retaining the sentence structure.
2020-07-27 19:19:14 -07:00
Livio Amstutz
58545a1710
fix: handle code separately ( #30 )
2020-05-29 09:40:34 +02:00
livio-a
a8d10945d8
feat: preselect user with id_token_hint ( #16 )
...
* feat: preselect user with id_token_hint
* fix tests
2020-03-11 09:41:54 +01:00
Livio Amstutz
5e7e5ebe3a
fix: create access token from storage
2020-02-27 17:06:32 +01:00
Livio Amstutz
6d0890e280
initial commit
2020-01-31 15:22:16 +01:00