BIT-2221: Error message upon login (#1262)

This commit is contained in:
Ramsey Smith 2024-04-12 14:34:04 -06:00 committed by Álison Fernandes
parent d0bda2fe97
commit 4940985509
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ interface IdentityApi {
@Field(value = "scope", encoded = true) scope: String,
@Field(value = "client_id") clientId: String,
@Field(value = "username") email: String,
@Header(value = "auth-email") authEmail: String,
@Header(value = "Auth-Email") authEmail: String,
@Field(value = "password") passwordHash: String?,
@Field(value = "deviceIdentifier") deviceIdentifier: String,
@Field(value = "deviceName") deviceName: String,

View file

@ -28,7 +28,7 @@ class IdentityServiceImpl(
twoFactorData: TwoFactorDataModel?,
): Result<GetTokenResponseJson> = api
.getToken(
scope = "api+offline_access",
scope = "api offline_access",
clientId = "mobile",
authEmail = email.base64UrlEncode(),
deviceIdentifier = uniqueAppId,