Commit graph

28 commits

Author SHA1 Message Date
Livio Amstutz
542ec6ed7b refactoring 2020-09-25 16:41:25 +02:00
Fabi
6cfd02e4c9
feat: prompt option (#59)
* feat: prompt option

* Update pkg/rp/relaying_party.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-09-21 15:11:42 +02:00
adlerhurst
28f731c219 fix: remove test because we know it works. :P
fix: key as string instead of bytes
2020-09-16 15:48:52 +02:00
Livio Amstutz
0547bfbc1e Merge remote-tracking branch 'origin/service-accounts' into service-accounts 2020-09-16 15:22:26 +02:00
Livio Amstutz
64797c1df6 cleanup 2020-09-16 15:22:15 +02:00
Silvan
4a917fb9ca
Update pkg/rp/tockenexchange.go 2020-09-16 15:18:42 +02:00
adlerhurst
ad0966c1ab Merge branch 'service-accounts' of github.com:caos/oidc into service-accounts 2020-09-16 14:12:45 +02:00
adlerhurst
fd3daa2335 fix: jwt profile request in op 2020-09-16 14:12:41 +02:00
Livio Amstutz
693ce1a07a differ between oauth2 and oidc relaying party 2020-09-16 10:51:33 +02:00
Livio Amstutz
a56a4a018a harmonize jwtProfile and existing interfaces / functions 2020-09-15 16:59:27 +02:00
Livio Amstutz
2dfdaa2223 fix state handling in auth request 2020-09-15 08:06:18 +02:00
Livio Amstutz
5a98ec4623 add missing error handling 2020-09-15 07:32:14 +02:00
Livio Amstutz
8790b54e0d update some op interfaces 2020-09-15 07:25:44 +02:00
Livio Amstutz
45230569d3 change RP interfaces 2020-09-14 07:52:16 +02:00
Livio Amstutz
143ff3482c change verifier interfaces 2020-09-11 10:45:07 +02:00
Livio Amstutz
6be292a984 Merge branch 'master' into service-accounts 2020-09-10 16:21:40 +02:00
Livio Amstutz
8f07a5b9c9 feat: add possibility to add verifier opts to default RP 2020-09-10 15:19:55 +02:00
Livio Amstutz
eaf47fde8e change some interfaces 2020-09-09 16:00:19 +02:00
Livio Amstutz
bfbd4adb1c some ideas to implement jwt client assertion 2020-09-08 17:09:27 +02:00
Livio Amstutz
a37a8461a5 lot of unfinished changes 2020-09-08 16:07:49 +02:00
Livio Amstutz
6a0dd7c270 Merge branch 'master' into service-accounts
# Conflicts:
#	pkg/oidc/authorization.go
2020-09-07 12:36:10 +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
adlerhurst
7a109a763d feat: service account token exchange 2020-09-02 17:52:22 +02:00
Livio Amstutz
628bc4ed65
fix: end session (#35)
* fix: handle code separately

* fix: option to ignore expiration on id_token and error handling

* fix: op handler as http.Handler

* fix: terminate session possible wihtout id_token_hint
2020-07-06 12:52:22 +02:00
Stefan Benz
b52fd090a7
feat(cli): added implementation for codeflow with a cli (#26) 2020-04-30 07:08:30 +02:00
Livio Amstutz
e8f3010910 feat: terminate session (front channel logout) 2020-03-03 11:31:23 +01:00
Livio Amstutz
7e2c22f99b fix: make checkKey public 2020-02-06 07:24:28 +01:00
Livio Amstutz
6d0890e280 initial commit 2020-01-31 15:22:16 +01:00