displaying username and username contained in the jwt now

This commit is contained in:
filipriec
2025-04-13 14:04:30 +02:00
parent e856e9d6c7
commit 5b1db01fe6
5 changed files with 8 additions and 3 deletions

View File

@@ -35,4 +35,5 @@ message LoginResponse {
int32 expires_in = 3; // Expiration in seconds (86400 for 24 hours)
string user_id = 4; // User's UUID in string format
string role = 5; // User's role
string username = 6;
}

Binary file not shown.

View File

@@ -52,6 +52,8 @@ pub struct LoginResponse {
/// User's role
#[prost(string, tag = "5")]
pub role: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub username: ::prost::alloc::string::String,
}
/// Generated client implementations.
pub mod auth_service_client {