FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
Error with Oauth2 Google Sign-In
Error with Oauth2 Google Sign-In
Iniciado por Parrinello SALVATORE, 04,oct. 2021 18:41 - 1 respuesta
Conéctese…
Parrinello SALVATORE
#1
Miembro registrado
8 mensajes
Publicado el 04,octubre 2021 - 18:41
Hi, I have problems with using Google's Oauth2 protocol on Android, using the following code the result returned is always:
invalid_grant Malformed auth code. Tested the same code from the Windev Mobile emulator instead it works perfectly
OAuth2Parameters is an OAuth2Parameters
MyRequest is httpRequest
MyResponse is httpResponse
vProfileInfo is Variant
sGGLDisplayName is string = ""
sGGLEmail is string = ""
bLogin is boolean = False
OAuth2Parameters..AuthURL = "
https://accounts.google.com/o/oauth2/auth
"
OAuth2Parameters..TokenURL = "
https://oauth2.googleapis.com/token
"
OAuth2Parameters..RedirectionURL = "
http://localhost:9874/
"
OAuth2Parameters..Scope = "email profile"
OAuth2Parameters..ClientID = "4XXXXXXXXXX1-lvrjjr936l63pmvsfc696fp4cfq713vh.apps.googleusercontent.com"
AuthToken is an AuthToken = AuthIdentify(OAuth2Parameters)
Informar
0
0
Daniel Medina
#2
Publicado el 16,diciembre 2021 - 17:12
Hi Salvatore,
There's a patch in order to fix that bug for Windev Mobile 26, you can ask it to free support.
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto