I have an oAuth2 service where I want to pass the redirect_uri parameter as a URL somewhere in my AngularJS application. http://localhost:8080/#/twitter/listbut my oAuth2 provider does not recognize urls with hash characters in them. I tried changing the url as http://localhost:8080/%23/twitter/list, but Angular does not seem to recognize the path, and I get the following error in my browser:
Cannot GET /%23/twitter/list
How can I get the redirect back to my AngularJS application to work?
source
share