Вопрос

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
Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top