Livio Amstutz
cef977adc2
Merge branch 'main' into op
...
# Conflicts:
# pkg/client/rp/relaying_party.go
2021-10-28 07:51:28 +02:00
陈杨文
c45f03e144
fix: allowed ConcatenateJSON with empty input ( #138 )
2021-10-28 07:06:34 +02:00
Livio Amstutz
703c0808b2
fix code response
2021-10-26 16:10:18 +02:00
Livio Amstutz
55ec7d9dd2
docs: remove implicit and hybrid flow from supported RP features in readme ( #136 )
...
* docs: remove implicit flow from supported features in readme
* docs: remove implicit flow from supported features in readme
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
2021-10-26 09:15:02 +02:00
Livio Amstutz
3b89a976b3
cleanup
2021-10-25 12:07:08 +02:00
Livio Amstutz
052a86f28a
ClaimsSignature
2021-10-25 12:06:00 +02:00
Livio Amstutz
484182a0f8
handle response mode
2021-10-25 11:57:26 +02:00
Livio Amstutz
f067d723f2
handle request object
2021-10-25 11:53:59 +02:00
Livio Amstutz
72a9829117
document discovery configuration
2021-10-21 14:36:55 +02:00
jmillerv
292188ba30
docs: fix readme typos ( #134 )
2021-10-10 19:30:24 +00:00
Livio Amstutz
eb38b7aa60
chore: build on fork PRs ( #133 )
2021-10-08 08:23:53 +02:00
陈杨文
ff2c164057
fix: improve example & fix userinfo marshal ( #132 )
...
* fix: example client should track state, call cli.CodeFlow need context
* fix: oidc userinfo can UnmarshalJSON with address
* rp Discover use client.Discover
* add instruction for example to README.md
2021-10-08 08:20:45 +02:00
Livio Amstutz
78f8017b73
add scope offline_access into scopes_supported
2021-09-29 09:37:51 +02:00
Livio Amstutz
0ab5ea5a57
refactor: remove utils pkg
...
BREAKING CHANGE: utils package has been removed in favor of specific new
packages (http, crypto, strings)
2021-09-27 11:58:28 +02:00
Livio Amstutz
251c476e17
fixes
2021-09-27 11:57:14 +02:00
Livio Amstutz
b60f1ed7a8
errors
2021-09-27 09:08:34 +02:00
Livio Amstutz
f90e685c76
Merge branch 'main' into op
2021-09-27 08:17:20 +02:00
Livio Amstutz
a63fbee93d
fix: improve JWS and key verification ( #128 )
...
* fix: improve JWS and key verification
* fix: get remote keys if no cached key matches
* fix: get remote keys if no cached key matches
* fix exactMatch
* fix exactMatch
* chore: change default branch name in .releaserc.js
2021-09-14 15:13:44 +02:00
Livio Amstutz
2b5b436c41
Merge pull request #127 from caos/dependabot/github_actions/codecov/codecov-action-2.1.0
...
chore(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0
2021-09-14 07:18:37 +02:00
dependabot[bot]
391b603cce
chore(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.3...v2.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 19:01:38 +00:00
Livio Amstutz
fcad98f4bd
fix: make pkce code_verifier spec compliant #125
...
fix: make pkce code_verifier spec compliant #125
2021-09-13 14:52:07 +02:00
Timo Volkmann
99812e0b8e
pkce: encode code verifier with base64 without padding
...
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-09-13 13:56:38 +02:00
Timo Volkmann
af3a497b6d
fix: make pkce code_verifier spec compliant #125
...
follow recommendations for code_verifier: https://datatracker.ietf.org/doc/html/rfc7636#section-4.1
2021-09-09 14:33:59 +02:00
Livio Amstutz
3574b211c8
Merge pull request #121 from caos/dependabot/github_actions/codecov/codecov-action-2.0.3
...
chore(deps): bump codecov/codecov-action from 2.0.2 to 2.0.3
2021-09-03 07:19:18 +02:00
dependabot[bot]
353bee9ebe
chore(deps): bump codecov/codecov-action from 2.0.2 to 2.0.3
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.2...v2.0.3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 05:18:02 +00:00
Livio Amstutz
3ed3fa5c0a
chore: fix sem rel configuration
2021-08-27 15:40:31 +02:00
Livio Amstutz
1bd04e9f36
Merge pull request #117 from caos/workflow
...
chore: start improving external contribution
2021-08-27 15:36:51 +02:00
Livio Amstutz
1a2cc86f3c
chore: change default branch name in .releaserc.js
2021-08-27 15:31:54 +02:00
Livio Amstutz
a3e5d6ba96
chore: add CONTRIBUTING.md
2021-08-27 15:26:41 +02:00
Livio Amstutz
d009df3567
chore: add issue templates
2021-08-27 15:24:24 +02:00
Livio Amstutz
87061e0123
chore: add 1.17 to matrix build
2021-08-27 14:57:48 +02:00
Livio Amstutz
b188b2e10e
Merge pull request #114 from caos/dependabot/go_modules/golang.org/x/text-0.3.7
...
chore(deps): bump golang.org/x/text from 0.3.6 to 0.3.7
2021-08-27 14:55:19 +02:00
Livio Amstutz
9aa0989dc1
chore: enable workflow on PR from forks
2021-08-27 14:32:41 +02:00
Livio Amstutz
86613007d0
fix: Ease dev host name constraints
...
fix: Ease dev host name constraints
2021-08-27 14:30:36 +02:00
Livio Amstutz
07c9890c95
fix: errors
2021-08-27 13:55:02 +02:00
Beardo Moore
581885afb1
task: Ease dev host name constraints
...
This changes the requirements for a issuer hostname to allow anything
that is `http`. The reason for this is because the user of the library
already has to make a conscious decision to set `CAOS_OIDC_DEV` so they
should already understand the risks of not using `https`. The primary
motivation for this change is to allow IdPs to be created in a
containerized integration test environment. Specifically setting up a
docker compose file that starts all parts of the system with a test IdP
using this library where the DNS name will not be `localhost`.
2021-08-26 20:32:51 +00:00
Livio Amstutz
aab1a979e5
correct verifier
2021-08-20 07:51:23 +02:00
Livio Amstutz
37a504cb43
fix and add some tests
2021-08-20 07:49:00 +02:00
Livio Amstutz
8b40741e7a
return correct scope list
2021-08-20 07:48:20 +02:00
Livio Amstutz
38a1f315de
fix json response
2021-08-20 07:47:45 +02:00
Livio Amstutz
d2d3395c25
fix: improve error handling
2021-08-20 07:47:07 +02:00
Livio Amstutz
6cc3c91d07
remove deprecated encrypted private key conversion
2021-08-20 07:41:33 +02:00
Livio Amstutz
5715d1528f
remove duplicate method
2021-08-20 07:40:06 +02:00
Livio Amstutz
807da0b27d
remove unnecessary context
2021-08-20 07:39:34 +02:00
dependabot[bot]
5c9565c035
chore(deps): bump golang.org/x/text from 0.3.6 to 0.3.7
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.6...v0.3.7 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 04:03:42 +00:00
dependabot[bot]
84b2ecc60e
chore(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 ( #108 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
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-08-09 09:29:40 +02:00
dependabot[bot]
bd2d17b3f3
chore(deps): bump codecov/codecov-action from 1 to 2.0.2 ( #111 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v2.0.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 09:28:50 +02:00
Florian Forster
3a37300e7a
docs: certification comment ( #113 )
2021-08-03 17:00:24 +02:00
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