<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>It got a little further after I made the change to (<a href="http://ec2-54-84-240-18.compute-1.amazonaws.com:8080/auth/social/callback">http://ec2-54-84-240-18.compute-1.amazonaws.com:8080/auth/social/callback</a>), 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.</div><div><br></div><div><p><b>400.</b> <ins>That’s an error.</ins></p><div>
<br class="webkit-block-placeholder"></div><p id="errorCode"><b>Error: invalid_request</b></p><p id="errorDescription">Invalid parameter value for redirect_uri: Raw IP addresses not allowed: <a href="http://54.84.240.18:8080/auth/social/callback">http://54.84.240.18:8080/auth/social/callback</a></p><p id="errorUri"><a target="_blank" href="http://code.google.com/apis/accounts/docs/OAuth2.html">Learn more</a></p><div aria-expanded="true" class="goog-zippy-header goog-zippy-expanded" role="tab" tabindex="0" id="request_info_header">Request Details<div style="overflow: hidden;"><ul style="margin-top: 0px;" id="request_info_items"><li class="param_entry" id="param_entry_0">scope=openid profile email</li><li class="param_entry" id="param_entry_1">response_type=code</li><li class="param_entry" id="param_entry_2">redirect_uri=<a href="http://54.84.240.18:8080/auth/social/callback">http://54.84.240.18:8080/auth/social/callback</a></li><li class="param_entry" id="param_entry_3">state=eyJhbGciOiJSUzI1NiJ9.eyJyZWFsbSI6ImRlbW8iLCJwcm92aWRlciI6Imdvb2dsZSIsImF0dHJpYnV0ZXMiOnsicmVzcG9uc2VfdHlwZSI6bnVsbCwic2NvcGUiOm51bGwsInJlZGlyZWN0X3VyaSI6Imh0dHA6Ly81NC44NC4yNDAuMTg6ODA4MC9jdXN0b21lci1wb3J0YWwvY3VzdG9tZXJzL3ZpZXcuanNwIiwic3RhdGUiOiIzMS8yMDI1NjljMC0yMTk2LTQzYTItYmY5YS0yYTQ0NzY5NjNhZDAiLCJjbGllbnRfaWQiOiJjdXN0b21lci1wb3J0YWwifX0.AkSP5VGCLtVKQGxdD0EtAi022_74pox0TbQEpDgDrRtMzJvnTmW7bcgKG_0Vd7tKnYGJvneoKiAKg43Gj_Ns2mPgIyzHTLU18J2t5_pam1hyAwsuNcwyNDY6bYrVH1bWVv8rp5Wed2ghodY7HT9yXHswV318TLwdBJxR6s2NIBI</li><li class="param_entry" id="param_entry_4">client_id=<a href="http://307515625284-g4fbfm5jj8u5602mcj6fdca5ne4742nl.apps.googleusercontent.com">307515625284-g4fbfm5jj8u5602mcj6fdca5ne4742nl.apps.googleusercontent.com</a></li></ul></div></div><p> <ins>That’s all we know.</ins></p></div><div><br></div><div><br></div><br><div><div>On Jul 28, 2014, at 8:40 AM, Stian Thorgersen &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Looks like Google isn't keen on using an IP address for the redirect-uri. Try using your public EC2 hostname instead.<br><br>----- Original Message -----<br><blockquote type="cite">From: "Christina Lau" &lt;<a href="mailto:christinalau28@icloud.com">christinalau28@icloud.com</a>&gt;<br>To: "Stian Thorgersen" &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;<br>Cc: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>Sent: Monday, 28 July, 2014 1:33:25 PM<br>Subject: Re: [keycloak-user] Unable to register redirect url to google developer<span class="Apple-tab-span" style="white-space:pre">        </span>console<br><br>From the Google dialog when I try to save.<br><br>On Jul 28, 2014, at 8:14 AM, Stian Thorgersen &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt; wrote:<br><br><blockquote type="cite">Where and when are you getting redirect URL error? From Google or Keycloak?<br><br>----- Original Message -----<br><blockquote type="cite">From: "Christina Lau" &lt;<a href="mailto:christinalau28@icloud.com">christinalau28@icloud.com</a>&gt;<br>To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>Sent: Monday, 28 July, 2014 12:52:11 PM<br>Subject: [keycloak-user] Unable to register redirect url to google<br>developer<span class="Apple-tab-span" style="white-space:pre">        </span>console<br><br>I have successfully create google social login on local keycloak install<br>using this URL:<br><br><a href="http://localhost:8080/auth/rest/social/callback">http://localhost:8080/auth/rest/social/callback</a><br><br>However, when I changed it to a keycloak install running on EC2, like<br>this:<br><br>http://54.84.240.18:8080/auth/rest/social/callback<br><br>I keep getting invalid redirect URL error.<br><br>Any idea what additional changes to make?<br><br>Christina<br>_______________________________________________<br>keycloak-user mailing list<br>keycloak-user@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/keycloak-user<br><br></blockquote></blockquote><br><br></blockquote></blockquote></div><br></body></html>