Update README.md

This commit is contained in:
Garrone Joseph
2021-03-08 02:55:41 +01:00
committed by GitHub
parent 103ef788fb
commit 7bdc19bf4b

@ -141,7 +141,7 @@ E.g: Your app url is `my-app.com` and your keycloak url is `auth.my-app.com`.
In this case there is a very straightforward approach and it is to use [`powerhooks/useGlobalState`](https://github.com/garronej/powerhooks). In this case there is a very straightforward approach and it is to use [`powerhooks/useGlobalState`](https://github.com/garronej/powerhooks).
Instead of `{ "persistance": "localStorage" }` use `{ "persistance": "cookie" }`. Instead of `{ "persistance": "localStorage" }` use `{ "persistance": "cookie" }`.
## Else ## Else
You will have to use URL parameters to passes states when you redirect to You will have to use URL parameters to passes states when you redirect to
the login page. the login page.