[keycloak-user] Unable to register redirect url to google developer console

Christina Lau christinalau28 at icloud.com
Mon Jul 28 09:23:10 EDT 2014


It got a little further after I made the change to (http://ec2-54-84-240-18.compute-1.amazonaws.com:8080/auth/social/callback), I can save. But still it didn’t get me to the Project Default Service Account screen (which I got to using local). I got the 400 error instead when I clicked on the google+ login.

400. That’s an error.


Error: invalid_request

Invalid parameter value for redirect_uri: Raw IP addresses not allowed: http://54.84.240.18:8080/auth/social/callback

Learn more

Request Details
scope=openid profile email
response_type=code
redirect_uri=http://54.84.240.18:8080/auth/social/callback
state=eyJhbGciOiJSUzI1NiJ9.eyJyZWFsbSI6ImRlbW8iLCJwcm92aWRlciI6Imdvb2dsZSIsImF0dHJpYnV0ZXMiOnsicmVzcG9uc2VfdHlwZSI6bnVsbCwic2NvcGUiOm51bGwsInJlZGlyZWN0X3VyaSI6Imh0dHA6Ly81NC44NC4yNDAuMTg6ODA4MC9jdXN0b21lci1wb3J0YWwvY3VzdG9tZXJzL3ZpZXcuanNwIiwic3RhdGUiOiIzMS8yMDI1NjljMC0yMTk2LTQzYTItYmY5YS0yYTQ0NzY5NjNhZDAiLCJjbGllbnRfaWQiOiJjdXN0b21lci1wb3J0YWwifX0.AkSP5VGCLtVKQGxdD0EtAi022_74pox0TbQEpDgDrRtMzJvnTmW7bcgKG_0Vd7tKnYGJvneoKiAKg43Gj_Ns2mPgIyzHTLU18J2t5_pam1hyAwsuNcwyNDY6bYrVH1bWVv8rp5Wed2ghodY7HT9yXHswV318TLwdBJxR6s2NIBI
client_id=307515625284-g4fbfm5jj8u5602mcj6fdca5ne4742nl.apps.googleusercontent.com
That’s all we know.




On Jul 28, 2014, at 8:40 AM, Stian Thorgersen <stian at redhat.com> wrote:

> Looks like Google isn't keen on using an IP address for the redirect-uri. Try using your public EC2 hostname instead.
> 
> ----- Original Message -----
>> From: "Christina Lau" <christinalau28 at icloud.com>
>> To: "Stian Thorgersen" <stian at redhat.com>
>> Cc: keycloak-user at lists.jboss.org
>> Sent: Monday, 28 July, 2014 1:33:25 PM
>> Subject: Re: [keycloak-user] Unable to register redirect url to google developer	console
>> 
>> From the Google dialog when I try to save.
>> 
>> On Jul 28, 2014, at 8:14 AM, Stian Thorgersen <stian at redhat.com> wrote:
>> 
>>> Where and when are you getting redirect URL error? From Google or Keycloak?
>>> 
>>> ----- Original Message -----
>>>> From: "Christina Lau" <christinalau28 at icloud.com>
>>>> To: keycloak-user at lists.jboss.org
>>>> Sent: Monday, 28 July, 2014 12:52:11 PM
>>>> Subject: [keycloak-user] Unable to register redirect url to google
>>>> developer	console
>>>> 
>>>> I have successfully create google social login on local keycloak install
>>>> using this URL:
>>>> 
>>>> http://localhost:8080/auth/rest/social/callback
>>>> 
>>>> However, when I changed it to a keycloak install running on EC2, like
>>>> this:
>>>> 
>>>> http://54.84.240.18:8080/auth/rest/social/callback
>>>> 
>>>> I keep getting invalid redirect URL error.
>>>> 
>>>> Any idea what additional changes to make?
>>>> 
>>>> Christina
>>>> _______________________________________________
>>>> keycloak-user mailing list
>>>> keycloak-user at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>> 
>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140728/37e1e867/attachment-0001.html 


More information about the keycloak-user mailing list