zitadel/internal/api/oidc
Tim Möhlmann 5399c0b0cb
fix(oidc): refresh token for device authorization (#7104)
fix(oidc); refresh token for device authorization

Due to a mis-alignment of OIDC interface and concrete implementations in zitadel, requesting a refresh token for device authorization would fail.
This change adds the possibility to to use the op.IDTokenRequest directly.
Also, the UserAgentID is dropped as required parameter, as devices do not have a user agent.

(cherry picked from commit 85eb2eda0b)
2023-12-21 15:03:00 +01:00
..
access_token.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
amr_test.go feat(api): add and remove OTP (SMS and email) (#6295) 2023-08-02 18:57:53 +02:00
amr.go feat(api): add and remove OTP (SMS and email) (#6295) 2023-08-02 18:57:53 +02:00
auth_request_converter_v2.go merge main into next 2023-10-19 12:34:00 +02:00
auth_request_converter.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
auth_request_integration_test.go perf(oidc): optimize client verification (#6999) 2023-12-05 17:01:03 +00:00
auth_request.go fix(oidc): refresh token for device authorization (#7104) 2023-12-21 15:03:00 +01:00
client_converter.go fix(oidc): return clients without instance settings (#7036) 2023-12-07 09:43:45 +00:00
client_credentials.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
client_integration_test.go perf(oidc): optimize client verification (#6999) 2023-12-05 17:01:03 +00:00
client.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
device_auth.go feat(oidc): id token for device authorization (#7088) 2023-12-20 13:21:08 +01:00
introspect.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
jwt-profile.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
key_test.go perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
key.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
oidc_integration_test.go perf(oidc): optimize client verification (#6999) 2023-12-05 17:01:03 +00:00
op.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
server_test.go feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
server.go fix(oidc): return clients without instance settings (#7036) 2023-12-07 09:43:45 +00:00
userinfo_test.go perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
userinfo.go perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00