I redirect my Angular application to the Spotify Login (https://accounts.spotify.com/authorize) Once they login they are redirected back to http://localhost:4200/callback. This URL has a token attached to it. But it immediately redirects to (I want it to redirect here):
const appRoutes: Routes = [{ path: 'callback', redirectTo: '/host', pathMatch: 'full' }]
How/where can I preserve the auth token without having it sit in the users URL?
I realize I will eventually need AuthGuards as well, but first I want to retrieve the token.
useHash: true
. Any idea how can I achieve the same with useHash set to true since keycloak doesn't allow # in the redirect_uri? – Junaid