mirror of
https://github.com/bitwarden/android.git
synced 2025-02-16 11:59:57 +03:00
BIT-2221: Error message upon login (#1262)
This commit is contained in:
parent
d0bda2fe97
commit
4940985509
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue