feat(auth): Enhance Google OAuth integration with PKCE support and CSRF validation improvements
This commit is contained in:
@@ -50,6 +50,7 @@ pub struct UsersCreateRequestDto {
|
||||
pub phone_number: String,
|
||||
pub is_active: bool,
|
||||
pub role_id: String,
|
||||
pub avatar: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, ToSchema, Validate)]
|
||||
|
||||
@@ -117,7 +117,7 @@ impl UsersSchema {
|
||||
)),
|
||||
gender: None,
|
||||
birthdate: None,
|
||||
avatar: None,
|
||||
avatar: user.avatar,
|
||||
is_deleted: false,
|
||||
role: make_thing(&ResourceEnum::Roles.to_string(), &user.role_id),
|
||||
created_at: get_iso_date(),
|
||||
|
||||
Reference in New Issue
Block a user