Commit graph

706 commits

Author SHA1 Message Date
Livio Amstutz
5a9e6e2c2a let tests work 2020-09-15 08:06:43 +02:00
Livio Amstutz
2dfdaa2223 fix state handling in auth request 2020-09-15 08:06:18 +02:00
Livio Amstutz
3c2ad6a53d update app example 2020-09-15 08:05:20 +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
ed6cbe4fe2 Merge remote-tracking branch 'origin/service-accounts' into service-accounts 2020-09-14 07:06:20 +02:00
Livio Amstutz
143ff3482c change verifier interfaces 2020-09-11 10:45:07 +02:00
adlerhurst
17a72ccc97 fix: storage interface 2020-09-10 18:31:53 +02:00
Livio Amstutz
3777f1436d Merge remote-tracking branch 'origin/service-accounts' into service-accounts 2020-09-10 16:24:58 +02:00
adlerhurst
a731a46ccf fix: aud 2020-09-10 16:24:48 +02:00
Livio Amstutz
f8707958fc Merge remote-tracking branch 'origin/service-accounts' into service-accounts 2020-09-10 16:24:29 +02:00
Livio Amstutz
6be292a984 Merge branch 'master' into service-accounts 2020-09-10 16:21:40 +02:00
Florian Forster
30f60da90d
chore: use only go mod native version (#52)
* chore: use only go mod native version

* chore: new go versions

* update go version in go.mod

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-09-10 15:53:17 +02:00
adlerhurst
9d8fc4fe8a Merge branch 'master' into service-accounts 2020-09-10 15:43:41 +02:00
adlerhurst
7700cb3539 fix: implement storage 2020-09-10 15:43:21 +02:00
Fabi
bcb6acbef1
Merge pull request #54 from caos/verifier-opts
feat: add possibility to add verifier opts to default RP
2020-09-10 15:42:05 +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
f645dd3543
fix: unmarshalling of audience as array (#53) 2020-09-10 08:35:37 +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
9cb0fff23f Merge remote-tracking branch 'origin/service-accounts' into service-accounts 2020-09-07 12:40:54 +02:00
adlerhurst
7487af3db4 add func for creating JWT token 2020-09-07 12:39:22 +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
dependabot[bot]
822ffb581f
chore(deps): bump github.com/gorilla/schema from 1.1.0 to 1.2.0 (#45)
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 10:15:44 +02:00
dependabot[bot]
d642904c35
chore(deps): bump github.com/gorilla/handlers from 1.4.2 to 1.5.0 (#44)
Bumps [github.com/gorilla/handlers](https://github.com/gorilla/handlers) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/handlers/releases)
- [Commits](https://github.com/gorilla/handlers/compare/v1.4.2...v1.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 10:15:29 +02:00
dependabot[bot]
2794ff12d5
chore(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0 (#46)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 07:40:34 +02:00
dependabot[bot]
c7a15ae970
chore(deps): bump github.com/google/uuid from 1.1.1 to 1.1.2 (#50)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.1.1...v1.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 07:40:22 +02:00
adlerhurst
7a109a763d feat: service account token exchange 2020-09-02 17:52:22 +02:00
Livio Amstutz
c828290ef1
fix: improve interceptor handling (#49) 2020-08-28 14:51:38 +02:00
Livio Amstutz
d02653e75d
fix: add authorization to cors (#48) 2020-08-24 16:08:07 +02:00
Fabi
b2b25c5b8c
Merge pull request #47 from caos/fix-cors
fix: cors
2020-08-24 08:19:29 +02:00
Livio Amstutz
6e71c17f1d pass origin into GetUserinfoFromToken 2020-08-24 07:52:22 +02:00
Livio Amstutz
57cf8ee9c7
fix: add code_challenge_methods_supported to discovery endpoint (#43)
* fix: add code_challenge_methods_supported to discovery endpoint

* fix mock
2020-08-20 16:27:51 +02:00
Livio Amstutz
c88e6b4ab3 fix: explicit allow Origin from request 2020-08-10 15:49:32 +02:00
Livio Amstutz
5a8e69978f
chore(workflow): semantic release (#42)
* chore: change semantic releasing

* fix release.yml
2020-08-06 13:45:16 +02:00
Fabi
17f769a875
Merge pull request #39 from caos/dependabot/go_modules/github.com/golang/mock-1.4.4
chore(deps): bump github.com/golang/mock from 1.4.3 to 1.4.4
2020-08-06 13:15:34 +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
Fabi
665cfb3555
Merge pull request #38 from JCustin/patch-1
fix(errors): improve error messages
2020-07-29 07:54:02 +02:00
dependabot[bot]
576db48c11
chore(deps): bump github.com/golang/mock from 1.4.3 to 1.4.4
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/golang/mock/releases)
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml)
- [Commits](https://github.com/golang/mock/compare/v1.4.3...v1.4.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-29 04:02:20 +00: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