zitadel-oidc/pkg/client
Tim Möhlmann 0f8a0585bf
feat(op): Server interface (#447)
* first draft of a new server interface

* allow any response type

* complete interface docs

* refelct the format from the proposal

* intermediate commit with some methods implemented

* implement remaining token grant type methods

* implement remaining server methods

* error handling

* rewrite auth request validation

* define handlers, routes

* input validation and concrete handlers

* check if client credential client is authenticated

* copy and modify the routes test for the legacy server

* run integration tests against both Server and Provider

* remove unuse ValidateAuthRequestV2 function

* unit tests for error handling

* cleanup tokenHandler

* move server routest test

* unit test authorize

* handle client credentials in VerifyClient

* change code exchange route test

* finish http unit tests

* review server interface docs and spelling

* add withClient unit test

* server options

* cleanup unused GrantType method

* resolve typo comments

* make endpoints pointers to enable/disable them

* jwt profile base work

* jwt: correct the test expect

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-09-28 17:30:08 +03:00
..
profile chore(deps): migrage jose to go-jose/v3 (#433) 2023-09-01 14:33:16 +03:00
rp chore(deps): migrage jose to go-jose/v3 (#433) 2023-09-01 14:33:16 +03:00
rs feat: generic Userinfo and Introspect functions (#389) 2023-05-05 12:36:37 +00:00
tokenexchange feat: add context to all client calls (#345) 2023-03-23 15:31:38 +01:00
client.go chore(deps): migrage jose to go-jose/v3 (#433) 2023-09-01 14:33:16 +03:00
integration_test.go feat(op): Server interface (#447) 2023-09-28 17:30:08 +03:00
jwt_profile.go feat: add context to all client calls (#345) 2023-03-23 15:31:38 +01:00
key.go feat: add context to all client calls (#345) 2023-03-23 15:31:38 +01:00