Commit graph

234 commits

Author SHA1 Message Date
Florian Forster
3a21b04459
chore: code of conduct (#112) 2021-08-03 16:52:16 +02:00
Livio Amstutz
1132c9d93d
fix: removeUserinfoScopes return new slice (without manipulating passed one) (#110) 2021-07-21 08:27:38 +02:00
Livio Amstutz
8a35b89815
fix: supported ui locales from config (#107) 2021-07-09 09:20:03 +02:00
Fabi
1392c0ee9a
Merge pull request #106 from caos/jwt-profile-storage
fix: custom claims and sub for jwt profile
2021-07-07 08:33:14 +02:00
Livio Amstutz
147c6dca6e fixes 2021-07-06 08:58:35 +02:00
Livio Amstutz
58e27e8073 simplify KeyProvider interface 2021-06-30 14:10:38 +02:00
Livio Amstutz
0b446618c7 custom claims for assertion and jwt profile request 2021-06-23 14:01:31 +02:00
Livio Amstutz
e9fc710b1f Merge branch 'master' into jwt-profile-storage
# Conflicts:
#	pkg/op/verifier_jwt_profile.go
2021-06-23 13:51:20 +02:00
Livio Amstutz
850faa159d
fix: rp verification process (#95)
* fix: rp verification process

* types

* comments

* fix cli client
2021-06-23 11:08:54 +02:00
Livio Amstutz
39fef3e7fb fix: simplify JWTProfileVerifier interface 2021-06-21 14:04:38 +02:00
Livio Amstutz
400f5c4de4
fix: parse max_age and prompt correctly (and change scope type) (#105)
* fix: parse max_age and prompt correctly (and change scope type)

* remove unnecessary omitempty
2021-06-16 08:34:01 +02:00
dependabot[bot]
0591a0d1ef
chore(deps): bump github.com/golang/mock from 1.5.0 to 1.6.0 (#104)
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.5.0 to 1.6.0.
- [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.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/golang/mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 16:02:48 +02:00
dependabot[bot]
2b58427192
chore(deps): bump gopkg.in/square/go-jose.v2 from 2.5.1 to 2.6.0 (#101)
Bumps [gopkg.in/square/go-jose.v2](https://github.com/square/go-jose) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/square/go-jose/releases)
- [Commits](https://github.com/square/go-jose/compare/v2.5.1...v2.6.0)

---
updated-dependencies:
- dependency-name: gopkg.in/square/go-jose.v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 16:01:58 +02:00
Florian Forster
a2583ad772
docs: improve wording (#103) 2021-06-14 15:59:51 +02:00
Livio Amstutz
3e336a4075
fix: check refresh token grant type (#100) 2021-05-31 11:35:03 +02:00
Fabi
8822aca841
Merge pull request #99 from caos/grant-types
fix: check grant types and add refresh token to discovery
2021-05-31 09:03:02 +02:00
Livio Amstutz
14faebbb77 fix: check grant types and add refresh token to discovery 2021-05-27 13:44:11 +02:00
Livio Amstutz
8e884bdb9f
feat: refresh token (#98)
add missing feature commit and readme update
2021-05-18 09:03:11 +02:00
Fabi
cd44ff0982
Merge pull request #97 from caos/refresh-token
feat: refresh token
2021-05-12 08:44:58 +02:00
Livio Amstutz
d362dd7546 handle error 2021-05-11 15:20:22 +02:00
Livio Amstutz
90b87289cb
Update pkg/op/token_code.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2021-05-11 15:17:10 +02:00
Livio Amstutz
2a11a1979e rename storage methods and fix mocks 2021-05-11 10:48:11 +02:00
Livio Amstutz
3a46908051 Merge branch 'master' into refresh-token 2021-05-11 10:27:43 +02:00
Livio Amstutz
be04244212 amr and scopes 2021-05-11 10:26:25 +02:00
Fabi
d4c1f1253c
Merge pull request #96 from caos/redirect-uri
fix: add loopback for native apps redirect_uri
2021-04-29 16:13:10 +02:00
Livio Amstutz
540a7bd7be improve Loopback check 2021-04-29 12:43:21 +02:00
Livio Amstutz
5119d7aea3 begin refresh token 2021-04-29 09:20:01 +02:00
Livio Amstutz
72fc86164c fix: allow loopback redirect_uri for native apps 2021-04-26 14:31:26 +02:00
Livio Amstutz
a2601f1584
fix: return error when delegating user in jwt profile request (#94) 2021-04-23 11:53:03 +02:00
dependabot[bot]
d6cc89819b
chore(deps): bump golang.org/x/text from 0.3.5 to 0.3.6 (#91)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.5...v0.3.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 08:43:24 +02:00
Livio Amstutz
b258b3cadb fix: url safe encryption with no padding (#93) 2021-04-19 13:41:27 +02:00
Elio Bischof
5cd7bae505
fix: cli client (#92)
* fix: cli client

* fix: print shutdown error correctly
2021-04-08 09:54:39 +02:00
Livio Amstutz
602592d5f3
chore(pipeline): add Go 1.16 to matrix build (#90)
* chore(pipeline): add 1.16 to matrix build

* chore(readme): add GO 1.16 to supported versions
2021-03-18 13:35:56 +01:00
dependabot[bot]
2292d63f7b
chore(deps): bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1 (#89)
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.8.0...v1.8.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 13:20:07 +01:00
Fabi
84e5159508
Merge pull request #88 from caos/basic-auth
fix: encoding of basic auth header values
2021-03-05 08:37:03 +01:00
Livio Amstutz
8f6e2c5974 chore: improve signer log messages 2021-03-05 07:53:35 +01:00
Livio Amstutz
d7d7daab2d fix: encoding of basic auth header values 2021-03-05 07:44:37 +01:00
Elio Bischof
527dd7b604
Merge pull request #87 from caos/wrap-original-error
fix: wrap original fetch key error
2021-03-03 00:00:00 +01:00
Elio Bischof
f2f509a522
fix: wrap original fetch key error 2021-03-02 23:58:34 +01:00
Fabi
53803642d6
Merge pull request #66 from caos/signingkey
fix: remove signing key creation (when key not found)
2021-02-22 15:06:02 +01:00
Livio Amstutz
e1f0456228 merge 2021-02-22 14:57:15 +01:00
Livio Amstutz
97a567f554 Merge branch 'master' into signingkey
# Conflicts:
#	pkg/op/mock/storage.mock.go
2021-02-22 14:56:37 +01:00
dependabot[bot]
01e5b74ba7
chore(deps): bump github.com/golang/mock from 1.4.4 to 1.5.0 (#86)
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.4.4 to 1.5.0.
- [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.4...v1.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 10:30:27 +01:00
dependabot[bot]
0fabbc33cf
chore(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0 (#85)
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.7.0...v1.8.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 10:28:14 +01: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
Livio Amstutz
1049c44c3e Merge remote-tracking branch 'origin/token-introspection' into signingkey
# Conflicts:
#	pkg/op/mock/storage.mock.go
#	pkg/op/storage.go
2021-02-12 13:02:04 +01:00
Livio Amstutz
5678693d44 clenaup 2021-02-12 12:52:33 +01:00
Livio Amstutz
fb9d1b3c4a
Update example/internal/mock/storage.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2021-02-12 12:51:22 +01:00
Livio Amstutz
0c7b2605bd clenaup 2021-02-12 07:02:10 +01:00
Livio Amstutz
01ff740f4e fixes 2021-02-12 06:47:16 +01:00