shinyproxy icon indicating copy to clipboard operation
shinyproxy copied to clipboard

Using Auth0 with SAML (or equivalent OAuth approaches) and adding a whitelist of addresses

Open DeepanshKhurana opened this issue 1 year ago • 2 comments

Hello!

I have a personal suite of apps that I want a few people to access. The problem with simple authentication is keeping and managing passwords, which has become a bit cumbersome.

I successfully implemented Auth0 with Google sign-in to my ShinyProxy instance. It works perfectly. Now, anyone with a valid Google login can access all applications.

My question is: Is there a way to have a whitelist of users/email addresses for an authentication method like saml? If yes, how can I get it to work?

Also, I have been unable to make the Logout button in ShinyProxy work for Auth0, but that is a secondary question. I want to log users out when they close the tab. But that is contingent on the actual use-case mentioned above working first.

DeepanshKhurana avatar Oct 10 '24 12:10 DeepanshKhurana

Hi, in ShinyProxy this is currently not possible on a global level, but for each app you can specify who can use it, see https://shinyproxy.io/documentation/configuration/#access-users . In addition, this should be possible directly in Auth0, see e.g. https://auth0.com/blog/ensure-users-log-in-trusted-networks-auth0-actions/

LEDfan avatar Oct 28 '24 14:10 LEDfan

Thank you for the resources. I'll take a look at the suggestions and get back to you. Appreciate the time!

DeepanshKhurana avatar Nov 18 '24 06:11 DeepanshKhurana

Hi

I believe this issue has been solved or has become outdated, therefore I'm going to close it. If you still experience this problem, feel free to re-open the issue. As always, any other issue or suggestion is welcome as well!

LEDfan avatar Jul 08 '25 07:07 LEDfan