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
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
2966355b0e
fix: add authorizations to userinfo ( #37 )
2020-07-09 13:40:32 +02:00
Florian Forster
b4c6e3ba02
chore(security): codeql setup ( #36 )
2020-07-07 11:48:14 +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
dependabot[bot]
21dfd6c22e
chore(deps): bump golang.org/x/text from 0.3.2 to 0.3.3 ( #34 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.2...v0.3.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-06 12:46:16 +02:00
dependabot[bot]
8ed8f4918c
chore(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.1 ( #33 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-06 12:45:55 +02:00
dependabot-preview[bot]
2e6c6fa8e9
chore(dependabot): config ( #32 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 13:49:32 +02:00
Livio Amstutz
58545a1710
fix: handle code separately ( #30 )
2020-05-29 09:40:34 +02:00
Stefan Benz
303fdfc421
fix(cli): added implementation for token to client for caching ( #29 )
2020-05-27 19:00:28 +02:00
dependabot-preview[bot]
9fa707c923
chore(deps): bump gopkg.in/square/go-jose.v2 from 2.5.0 to 2.5.1 ( #27 )
...
Bumps [gopkg.in/square/go-jose.v2](https://github.com/square/go-jose ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/square/go-jose/releases )
- [Commits](https://github.com/square/go-jose/compare/v2.5.0...v2.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 09:45:38 +02:00