I would prefer to go with the pop-up if it would work properly. But with
the redirect, what I do is fetch the current URI, in this case,
http://localhost:8080/login and then strip out the /login part, and send
http://localhost:8080, which is exactly what is in the authorized redirect
list. Should I instead add http://localhost:8080/login to the list?

On Thu, Jul 6, 2017 at 2:57 PM, 'Lucas Lacroix' via Angular and AngularJS
discussion <[email protected]> wrote:

> Your redirect URI must be the entire thing, ex. "
> https://example.org/oauth2";.
>
> On Thu, Jul 6, 2017 at 1:29 AM Charles Libicki <[email protected]> wrote:
>
>> Correction: The error is 400, not 404.
>>
>>
>> On Thursday, July 6, 2017 at 8:17:31 AM UTC+3, Charles Libicki wrote:
>>>
>>> I am trying to add a login component to the Heroes tutorial, using
>>> Google Sign-in. The call auth2.signIn works properly as far as pulling
>>> in the correct information, but the page is erased and fails to rebuild
>>> properly afterwards. I suspect that the sign-in popup does not play well
>>> with Angular, so I tried using the redirect option instead. in that case I
>>> get a 404 error, redirect_uri_mismatch, even though the reported URI
>>> and the URI in the authorized list match letter for letter. And I don't get
>>> a 400 error without the redirect option.
>>> Any suggestions on how to proceed?
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Lucas Lacroix
> Computer Scientist
> Advanced Technology Division, MEDITECH <http://ehr.meditech.com/>
> 781-774-2293
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Angular and AngularJS discussion" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/angular/WZtZJY1NZiA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to