문제

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