Is there a way to retrieve the hash fragment using Angular2 from a URL structure that I don't have control over?
http://your-redirect-uri#access_token=ACCESS-TOKEN
After setting up my router configuration, it seems like everything after oauth
is being ignored and I can't access the hash fragment in request.params or location.path. Any solutions?
Router config:
@RouteConfig([
{path: '/welcome', name: 'Welcome', component: WelcomeComponent, useAsDefault: true},
{path: '/landing/oauth', name: 'Landing', component: LandingComponent} // this one
])