[Aerogear-users] Android Native Login to Keycloak

Naif nifs.arpegiuz at gmail.com
Fri Aug 28 19:42:43 EDT 2015


Thanks for the reply

I downloaded the android project, and i have followed the instructions; I
imported 'demo-realm.json' and create the 'keycloak.json' file(added on
res/raw), but, when i run the project, i get on my smartphone:

/WE'RE SORRY ...
Invalid parameter: redirect_uri/

on the server console, i get:

/WARN  [org.keycloak.events] (default task-50) type=LOGIN_ERROR,
realmId=98ac4271-17a4-490a-97b3-d4f11d05510b, clientId=Android, userId=null,
ipAddress=192.168.0.16, error=invalid_redirect_uri, response_type=code,
redirect_uri=urn:ietf:wg:oauth:2.0:oob/

and in my keycloak admin console(Clients -> Android -> Settings):

/Access Type: confidential
Valid Redirect URIs: http://oauth2callback
Web Origins: http://oauth2callback/

Do you know, how can i solve this?



--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Android-Native-Login-to-Keycloak-tp219p221.html
Sent from the aerogear-users mailing list archive at Nabble.com.


More information about the Aerogear-users mailing list