Giter VIP home page Giter VIP logo

Comments (5)

lwasser avatar lwasser commented on August 13, 2024

oh! so is our login protocol different now? or it's still github but i add users in a different yaml file than before?
it sounds like it's different because previously i could just remove them from the list and within a few days they'd lose access. this reminds me i will shut down the ea hub this morning

from hub-ops.

lwasser avatar lwasser commented on August 13, 2024

@kcranston ok i think i need a run through of how this works. does the authentication list in the yaml file no longer work?

from hub-ops.

kcranston avatar kcranston commented on August 13, 2024

From what I understand, the authentication process has multiple steps, which go something like this:

  • user hits the hub url
  • hub redirects to github login page
  • user enters authentication info
  • github generates temporary token, redirects back to hub, sending the temp token to the hub
  • hub uses temp token to ask github for an authentication token
  • hub checks if user is on the whitelist

So, if a user already has an authentication token, the whitelist is not checked. If you remove a user from the whitelist, they may still be able to log in if they have an unexpired token (and I do not know how long before tokens expire). This happened in the fall, when I reinstated a hub and @nkorinek was able to log in without being on the whitelist!

from hub-ops.

lwasser avatar lwasser commented on August 13, 2024

ok so for the ea-hub i did remove a few users from the whitelist. do i then need to remove their tokens?

from hub-ops.

lwasser avatar lwasser commented on August 13, 2024

oh wait . this is what i have to revoke all tokens is that right? i think i remember this conversation. so if i revoke all tokens then the users on the whitelist can still get onto the hub. is that correct?

from hub-ops.

Related Issues (20)

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.