zitadel-oidc/pkg/oidc
Thomas Hipp 1a2db3683f
fix: Only set GrantType once (#353)
This fixes an issue where, when using the device authorization flow, the
grant type would be set twice. Some OPs don't accept this, and fail when
polling.

With this fix the grant type is only set once, which will make some OPs
happy again.

Fixes #352
2023-03-29 07:51:10 +00:00
..
grants chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
regression_data fix: unmarshalling of scopes in access token (#327) 2023-03-15 14:44:49 +01:00
authorization.go chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
code_challenge.go feat(op): dynamic issuer depending on request / host (#278) 2023-02-09 17:10:22 +01:00
device_authorization.go implement RFC 8628: Device authorization grant 2023-03-01 08:59:17 +01:00
discovery.go implement RFC 8628: Device authorization grant 2023-03-01 08:59:17 +01:00
error.go implement RFC 8628: Device authorization grant 2023-03-01 08:59:17 +01:00
introspection.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
introspection_test.go fix: do not modify userInfo when marshaling 2023-03-28 12:58:34 +03:00
jwt_profile.go chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
keyset.go chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
keyset_test.go add missing import 2022-01-28 09:48:37 +01:00
regression_assert_test.go fix: do not modify userInfo when marshaling 2023-03-28 12:58:34 +03:00
regression_create_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
regression_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
revocation.go feat: Token Revocation, Request Object and OP Certification (#130) 2021-11-02 13:21:35 +01:00
session.go chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
token.go fix: do not modify userInfo when marshaling 2023-03-28 12:58:34 +03:00
token_request.go fix: Only set GrantType once (#353) 2023-03-29 07:51:10 +00:00
token_test.go fix: do not modify userInfo when marshaling 2023-03-28 12:58:34 +03:00
types.go fix: handle the zero cases for oidc.Time 2023-03-20 17:18:11 +02:00
types_test.go fix: handle the zero cases for oidc.Time 2023-03-20 17:18:11 +02:00
userinfo.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
userinfo_test.go fix: do not modify userInfo when marshaling 2023-03-28 12:58:34 +03:00
util.go fix: do not modify userInfo when marshaling 2023-03-28 12:58:34 +03:00
util_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
verifier.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00