mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-09 05:35:17 +00:00
feat(api): allow specifying access_token type (opaque/JWT) for service users (#5150)
Add functionality to configure the access token type on the service accounts to provide the oidc library with the necessary information to create the right type of access token.
This commit is contained in:
@@ -83,6 +83,11 @@ message Machine {
|
||||
example: "\"true\"";
|
||||
}
|
||||
];
|
||||
AccessTokenType access_token_typ = 4 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Type of access token to receive";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message Profile {
|
||||
@@ -161,6 +166,11 @@ enum Gender {
|
||||
GENDER_DIVERSE = 3;
|
||||
}
|
||||
|
||||
enum AccessTokenType {
|
||||
ACCESS_TOKEN_TYPE_BEARER = 0;
|
||||
ACCESS_TOKEN_TYPE_JWT = 1;
|
||||
}
|
||||
|
||||
message SearchQuery {
|
||||
oneof query {
|
||||
option (validate.required) = true;
|
||||
|
||||
Reference in New Issue
Block a user