shinyonfire / sof-auth-example Goto Github PK
View Code? Open in Web Editor NEWExample using Firebase authentication with Shiny
Home Page: https://tychobra.shinyapps.io/sof-auth-example/
License: MIT License
Example using Firebase authentication with Shiny
Home Page: https://tychobra.shinyapps.io/sof-auth-example/
License: MIT License
Hello Andy, thank you for sharing this example, very interesting solution, i am still learning about it. I have reproduced here and it worked, but only after a modification:
In ui.r (lines 7 and 8) i a had to change the 5.7.0 version (i guess)
tags$script(src="https://www.gstatic.com/firebasejs/5.7.0/firebase-app.js"),
tags$script(src="https://www.gstatic.com/firebasejs/5.7.0/firebase-auth.js"),
to 5.8.4 -
tags$script(src="https://www.gstatic.com/firebasejs/5.8.4/firebase-app.js"),
tags$script(src="https://www.gstatic.com/firebasejs/5.8.4/firebase-auth.js"),
As i was not getting any response when i clicked the sign in button. My question is, do i have to be looking every day for changes in this version, made by firebase team? In order to keep these links updated?
Hi, I tried to use this and everything work fine except once clicked on login button nothing happen, ideally DataTable should appears as per you logic. Also use absolute path for each configs files but no luck..
Can you please suggest how i resolve this problem.
Hi Andy,
Nice work on this! Looks like a promising auth option for shiny.
One thing I noticed was that the apiKey
, authDomain
and projectId
are visible to anyone who looks at the sof-auth.js
script in the source files of the app's base directory.
I'm not a javascript expert but I'm guessing there must be a way of not exposing this information to the client?
I saw you placed a security warning on the repo. Could you elaborate about the security risk? I assumed that as long as you use mTLS and use proper security rules with your Firebase project, then there shouldn’t be a security problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.