Question

Reddit is placing the query params before the # in angular. Is this my fault or reddit's fault?
Whats a potential work around?

  • On reddit, I have set my redirect url to http://127.0.0.1:9000/#/oauth
  • When I go through the oAuth process I get a response that looks like this: http://127.0.0.1:9000/?state=MY_STATE&code=MY_CODE#/oauth
Était-ce utile?

La solution

The solution I ended up using was to manually parse the contents of the url http://127.0.0.1:9000/?state=MY_STATE&code=MY_CODE#/oauth using some string manipulation.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top