curso-r / auth0

Authentication in shinyapps using Auth0 service
https://curso-r.github.io/auth0/
Other
155 stars 21 forks source link

Error for url with search parameters on remote server #65

Open Kvit opened 4 years ago

Kvit commented 4 years ago

This problem is a bit tricky to replicate, steps:

  1. deploy auth0 app on remote server (e.g. shinyapps.io) but don't start it yet
  2. Try to open the app with search query params: user.shinyapps.io/app/?q=123 you should see an error in the browser
    ERROR: An error has occurred. Check your logs or contact the app author for clarification.
  3. open the same app without query (user.shinyapps.io/app/)
  4. open the same app again with the query you should see no error

If I look at the logs on shinyapps.io I can see some error like this Warning: Error in substr: object 'redirect_uri' not found

jtrecenti commented 4 years ago

Hi! thanks for the issue. Bookmarking in shiny apps is being a big challenge to this. Currently we can assume that bookmarking only works with server storage.

Maybe in later versions we'll have this feature. See #60