Cannot pass url query params anymore for all pages in v5
See original GitHub issueIt used to be possible to fetch query params in the base of the project, as described here:
https://docs.keycloakify.dev/context-persistence
This worked fine for all pages in v4. With v5, it does work for the login page, but it does not work, for example, for the update password page. This is because the page is redirected to: http://localhost:6080/realms/test/login-actions/required-action?execution=UPDATE_PASSWORD&client_id=fridge-backoffice-react&tab_id=roGd4uDW5as
before I’m able to get the query params from the URL.
This this a bug or is there some workaround? Thank you for the help.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5
Top Results From Across the Web
How to get parameter value from query string? - Stack Overflow
React Router already parses the location for you and passes it to your RouteComponent as props. You can access the query (after ?...
Read more >Navigate to a URL with Query Strings (Search Params) in ...
Navigate to a URL with Query Strings (Search Params) in React Router ... But this doesn't allow us to specify any search params...
Read more >Query string - Wikipedia
A query string is a part of a uniform resource locator (URL) that assigns values to specified parameters. A query string commonly includes...
Read more >URLSearchParams - Web APIs - MDN Web Docs
Chrome Edge
URLSearchParams Full support. Chrome49. Toggle history Full support. Edge...
@@iterator Full support. Chrome49. Toggle history Full support. Edge...
URLSearchParams() constructor Full support. Chrome49. Toggle...
Read more >How to Exclude Query String Parameters from Google ... - Elevar
No more duplicate page URLs in your reports that drive you crazy and require manual roll up! ... Option 1: Create Filter to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright I see now that I can only access the query params in the login page and not the other ones. Using the local storage should indeed solve the problem for the other pages. Thank you for your great responses.
@JimVanEeden you are welcome,
If you want to help me advance my opensourcer career, you can suggest me for this GitHub program.
Not an obligation whatsoever 😃