New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shiny Server Callback URL Mismatch #45
Comments
This is a bug caused by version 0.2.0. We're checking possible solutions, but probably we'll have to re-add the |
OK great thank you! Is the
|
@PaulC91, please try this: remotes::install_github("curso-r/auth0", ref = "fix-45") and the
|
We thought that it was possible to ignore these parameters, but we only tested in dockerized apps. But it seems that our strategy does not work with |
Still getting the same error with I'd be interested to know the appropriate config settings for a dockerized app also. I tried adding auth0 to a dockerized app deployed via shinyproxy but I couldn't get it working either. Thanks. |
I tested the fix in shiny-server and shinyapps.io and it's working! Maybe restart your server to make sure that you're using the "fix-45" version of auth0? We've created a tutorial to make dockerized apps but it's just in Portuguese. We plan to translate it to English and add it to {auth0} package at the end of november. |
ah yes sorry I was still using
rather than just Is |
Paul, I messed up with the |
@PaulC91, I've submitted the fix to the master branch. Please re-close the issue if you find any problem. |
super, thanks Julio! let me know if the Portuguese docker tutorial is available anywhere! :) |
They are in our blog:
The only difference from (2) and an app using auth0 is that you need to replace |
I am having the exact same issue using the rocker/shiny-verse:4.0.3 image. |
Hello, I have the same problem as IroNEDR. I have tried different combinations. My guess is that I have not set up the correct parameters in the shiny-auth directory, the yml file and the autho website. I have tried different examples (as found on the web and in your website) with the negative results. Dropping back to shiny0auth0 is working better than shiny-auth0-plus, but no success. Thanks for any assistance |
Hi all.
I'm trying to get auth0 working on a test app I've deployed on an open source shiny server instance. I've configured nginx routing so that apps can be accessed via
https://hostname.com/app_dir
whereapp_dir
is the app directory in/srv/shiny-server/
being hosted by shiny server.I've tried adding
https://hostname.com/app_dir
to theAllowed Callback URLs
andAllowed Logout URLs
andhttps://hostname.com
toAllowed Web Origins
on my auth0 app but I keep getting a Callback URL mismatch error from auth0 whenever I try to access the app. I noticed the callback error URL containsredirect_uri=http%3A%2F%2Flocalhost%3A3838
so it seems that auth0 is detectedlocalhost:3838
as the callback and nothttps://hostname.com/app_dir
.Do you know how I can fix this?
Many thanks,
Paul
The text was updated successfully, but these errors were encountered: