Redirect Url issue in Google Identity Toolkit For a PHP webpage

54 views
Skip to first unread message

Akshay Singla

unread,
May 28, 2015, 11:06:52 PM5/28/15
to google-iden...@googlegroups.com
I have a php webpage and I am setting up the google authentication to it. Now whenever I visit the php webpage, it routs me to the google login. After putting the right credentials I am not redirecting to my desired php webpage. Instead account settings page of google gets opened. What could be the issue?

Derek Salama

unread,
May 29, 2015, 10:32:04 AM5/29/15
to google-iden...@googlegroups.com, aks.si...@gmail.com
What have you configured for the signInSuccessUrl?

Akshay Singla

unread,
May 29, 2015, 1:09:55 PM5/29/15
to google-iden...@googlegroups.com
In the signInSuccessUrl I am using basically the URL of that webpage that I need to display after successful login. 

--
You received this message because you are subscribed to a topic in the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-identity-toolkit/B95-7sC0MHw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-identity-t...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Derek Salama

unread,
May 29, 2015, 6:45:55 PM5/29/15
to google-iden...@googlegroups.com, aks.si...@gmail.com
Can you provide any more information? As some basic trouble shooting, you should make sure you have the consent page configured (under APIs & auth in the developers console), try a different Google account for signing in, and that you've configured the redirect URI for the "Client ID for web application" in the credentials page.
To unsubscribe from this group and all its topics, send an email to google-identity-toolkit+unsub...@googlegroups.com.

Akshay Singla

unread,
May 30, 2015, 1:41:01 AM5/30/15
to google-iden...@googlegroups.com
The Consent Screen you are talking about is already been configured with this account. The only details that I have mentioned in the consent screen are Email Address ( that is obviously my google account id) and and the Product Name. Rest all the fields in the consent screen are optional so I kept them blank. During the initial setup of this project I chose the Application Type as 'Web Application' under the Create Client ID Hood. Would you please let me know what other information you require?

To unsubscribe from this group and all its topics, send an email to google-identity-t...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-identity-toolkit/B95-7sC0MHw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-identity-t...@googlegroups.com.

Akshay Singla

unread,
May 30, 2015, 2:01:56 AM5/30/15
to google-iden...@googlegroups.com
This is the page I am redirecting to instead of the required one. Its url is myaccount.google.com



Bassam Ojeil

unread,
Jun 1, 2015, 12:55:46 PM6/1/15
to google-iden...@googlegroups.com, aks.si...@gmail.com
Hi Akhsay, is your test website accessible online? It would be a lot easier to diagnose if we could recreate the situation.
Thanks.

Bassam

You received this message because you are subscribed to the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-identity-t...@googlegroups.com.

Alli Omogbolahan

unread,
Jun 2, 2015, 5:15:07 AM6/2/15
to google-iden...@googlegroups.com, aks.si...@gmail.com


On Monday, June 1, 2015 at 5:55:46 PM UTC+1, Bassam Ojeil wrote:
Hi Akhsay, is your test website accessible online? It would be a lot easier to diagnose if we could recreate the situation.
Thanks.

Bassam
On Fri, May 29, 2015 at 10:40 PM, Akshay Singla <aks.si...@gmail.com> wrote:
The Consent Screen you are talking about is already been configured with this account. The only details that I have mentioned in the consent screen are Email Address ( that is obviously my google account id) and and the Product Name. Rest all the fields in the consent screen are optional so I kept them blank. During the initial setup of this project I chose the Application Type as 'Web Application' under the Create Client ID Hood. Would you please let me know what other information you require?
On Sat, May 30, 2015 at 4:15 AM, Derek Salama <derek...@google.com> wrote:
Can you provide any more information? As some basic trouble shooting, you should make sure you have the consent page configured (under APIs & auth in the developers console), try a different Google account for signing in, and that you've configured the redirect URI for the "Client ID for web application" in the credentials page.


On Friday, May 29, 2015 at 10:09:55 AM UTC-7, Akshay Singla wrote:
In the signInSuccessUrl I am using basically the URL of that webpage that I need to display after successful login. 
On Fri, May 29, 2015 at 8:02 PM, Derek Salama <derek...@google.com> wrote:
What have you configured for the signInSuccessUrl?

On Thursday, May 28, 2015 at 8:06:52 PM UTC-7, Akshay Singla wrote:
I have a php webpage and I am setting up the google authentication to it. Now whenever I visit the php webpage, it routs me to the google login. After putting the right credentials I am not redirecting to my desired php webpage. Instead account settings page of google gets opened. What could be the issue?

--
You received this message because you are subscribed to a topic in the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-identity-toolkit/B95-7sC0MHw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-identity-toolkit+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-identity-toolkit/B95-7sC0MHw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-identity-toolkit+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-identity-toolkit+unsub...@googlegroups.com.

Akshay Singla

unread,
Jun 2, 2015, 11:38:28 PM6/2/15
to Alli Omogbolahan, google-iden...@googlegroups.com
Thanks a lot for your respone. I got the solution and its successfully integrated now in my project. Thanks a lot

On Tue, Jun 2, 2015 at 2:45 PM, Alli Omogbolahan <gboll...@gmail.com> wrote:
http://preview.lemzdelivery.com/user/play.php

On Monday, June 1, 2015 at 5:55:46 PM UTC+1, Bassam Ojeil wrote:
Hi Akhsay, is your test website accessible online? It would be a lot easier to diagnose if we could recreate the situation.
Thanks.

Bassam
On Fri, May 29, 2015 at 10:40 PM, Akshay Singla <aks.si...@gmail.com> wrote:
The Consent Screen you are talking about is already been configured with this account. The only details that I have mentioned in the consent screen are Email Address ( that is obviously my google account id) and and the Product Name. Rest all the fields in the consent screen are optional so I kept them blank. During the initial setup of this project I chose the Application Type as 'Web Application' under the Create Client ID Hood. Would you please let me know what other information you require?
On Sat, May 30, 2015 at 4:15 AM, Derek Salama <derek...@google.com> wrote:
Can you provide any more information? As some basic trouble shooting, you should make sure you have the consent page configured (under APIs & auth in the developers console), try a different Google account for signing in, and that you've configured the redirect URI for the "Client ID for web application" in the credentials page.


On Friday, May 29, 2015 at 10:09:55 AM UTC-7, Akshay Singla wrote:
In the signInSuccessUrl I am using basically the URL of that webpage that I need to display after successful login. 
On Fri, May 29, 2015 at 8:02 PM, Derek Salama <derek...@google.com> wrote:
What have you configured for the signInSuccessUrl?

On Thursday, May 28, 2015 at 8:06:52 PM UTC-7, Akshay Singla wrote:
I have a php webpage and I am setting up the google authentication to it. Now whenever I visit the php webpage, it routs me to the google login. After putting the right credentials I am not redirecting to my desired php webpage. Instead account settings page of google gets opened. What could be the issue?

--
You received this message because you are subscribed to a topic in the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-identity-toolkit/B95-7sC0MHw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-identity-t...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-identity-toolkit/B95-7sC0MHw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-identity-t...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Identity Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-identity-t...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages