Push notification on mobile app

To guide the user to a new message in our mobile app, we use push notifications. Clicking on the notification opens the app and leads the user to the menu and view directly, where the new message waits.

This workflow currently breaks, when keycloak requests the user for a login to authenticate himself. After Authentication is done, the info is lost, what menu and view has to be opened automatically.

Can you help us to show a way, how to implement this behaviour correctly with keycloak as login provider?

Isn’t this information ( menu and view ) not on the URL? After login the user gets redirected to the original URL he / she requested so if you put that information there it should still work as exepected.

it is in the URL, yes.
how can i manipulate the redirect string to forward the infos?

This should be done by keycloak.js, I don’t know why this would not work

1 Like