I have MyApp - Ionic 2 app and I would like to implement login via Keycloak as you can see here here.
MyApp is runnig on http://localhost:8100/
Keycloak server on http://localhost:8080/
Have following scenario:
- User Access MyApp and press login button.
- User is redirect to Keycloak page, fills the credentials and press the login.
- User is redirected back to MyApp:
Here is the issue: The MyApp will not store the cookies from Keycloak response (see here). So I was thinking about catching the redirect from Keycloak, extracting the cookies and storing them into LocalStorage. I don't know how in Angular 2 catch such redirect.
Thanks for any advice!
