mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
use correct aud value when verifying google token from android
This commit is contained in:
parent
057ad67f76
commit
ba1c9c970b
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ export async function decodeGoogleToken(
|
|||
|
||||
const loginTicket = await googleMobileClient.verifyIdToken({
|
||||
idToken,
|
||||
audience: isAndroid ? webClientId : iosClientId,
|
||||
audience: isAndroid ? env.google.auth.androidClientId : iosClientId,
|
||||
})
|
||||
|
||||
const email = loginTicket.getPayload()?.email
|
||||
|
|
|
|||
Loading…
Reference in a new issue