curso-r/auth0

Auth0 ?code=xxxx replaces the shiny search query param

Closed this issue · 0 comments

I'm trying to connect one shiny application with another. So I'm sending a string using search query param. For example, I have a text input in app1, when an action button responsible for opening app2 is clicked it takes the text input as a search query params (user.shinyapps.io/app2/?text=mytext) and this value will get displayed with the help of rendertext in the app2. But when I enable auth0, the search query is getting replaced with user.shinyapps.io/app2/?code=xxxx..... This removes my search query param.
The link to app1, here you can find the behaviour of apps with and without auth0 (when there is no search query param to parse the app will return URL Search Query Not Found).
Even if there is another method where I can send a string without a URL search query param, I'll be happy to use it.
This question is similar to the previously raised issue by the user Kvit (But I'm not sure whether he meant the same thing).
Credentials for app1:
username: sample@mohang.com
Password: sample@mail123
(since both app uses single auth0 application, logging in with google will ask for credentials every time the second app is opened, but logging in with credentials make the app switch seamless)