Not sure but IE seems to discard a non encoded hash mark in the URL, so 
even if you get this working in firefox / chrome I don't think it would 
work for IE.

On Tuesday, January 27, 2015 at 9:55:10 PM UTC-6, Suresh wrote:
>
> I'm trying to integrate Facebook login with my Angular app. It appears 
> that having *#* in urls is causing a problem during OAuth server 
> redirect. Can any one suggest a way out of this. (During OAuth redirect FB 
> server sends a code as a query parameter to the redirect url)
>
> redirect url : http://localhost:9000/#/user?action=addfacebook
>
> current response : 
> http://localhost:9000/?code=XXX#/user?action=addfacebook
>
> desired response : http://localhost:9000/#/user?action=addfacebook 
> <http://localhost:9000/?code=XXX#/user?action=addfacebook>&code=XXX 
> <http://localhost:9000/?code=XXX#/user?action=addfacebook>
>
>    - I tried encoding the url, encoding the hash (both didn't work)
>    - Keeping $locationprovider.html5Mode(true)is not feasible for me due 
>    to IE8 issue
>
> Can anyone help with this issue ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to