Giter Club home page Giter Club logo

sof-auth-example's People

Contributors

merlinoa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sof-auth-example's Issues

tag$script update

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?

No be able to Login

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.

API key visible in the client

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?

Question about security warning

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.