You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(api): allow specifying access token type for user of type machine (zitadel#11599)
# Which Problems Are Solved
The user service v2 didn't allow the specify or change the access token
type for users of type machine and referred to using the management API,
which in return was already deprecated and linked to the user service.
# How the Problems Are Solved
Added a possibility to specify the access token type in the creation and
update request.
# Additional Changes
None
# Additional Context
- closeszitadel#10850
- requires backport to v4.x
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
// The unique identifier of the organization the user belongs to.
2117
2130
stringorganization_id=1 [
@@ -2160,8 +2173,8 @@ message CreateUserRequest{
2160
2173
Humanhuman=4;
2161
2174
// Users of type machine are users that are meant to be used by a machine.
2162
2175
// In order to authenticate, [add a secret](/docs/reference/api/user/zitadel.user.v2.UserService.AddSecret), [a key](/docs/reference/api/user/zitadel.user.v2.UserService.AddKey) or [a personal access token](/docs/reference/api/user/zitadel.user.v2.UserService.AddPersonalAccessToken) to the user.
2163
-
// Tokens generated for new users of type machine will be of an opaque Bearer type.
2164
-
// You can change the users token type to JWT by using the management v1 service method UpdateMachine.
2176
+
// By default, tokens generated for new users of type machine will be of an opaque Bearer type.
2177
+
// You can change it to JWT by specifying the access token type in the machine field.
0 commit comments