Comments (5)
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.
@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.
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.
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.
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)
- git puller quirk / fail HOT 2
- Every commit is taking hours to build HOT 1
- Travis and Hub Deployment - Currently I can't deploy hub updates HOT 5
- Update location of grafana and prometheus charts HOT 5
- Migrate deployment from Travis to Actions HOT 4
- Update docs on how to setup gcloud for cu
- Resource tracking on the hub
- Vector notebooks failing grading on the hub HOT 2
- nbgrader-hub for the spring HOT 1
- migrate new hub to main branch HOT 2
- Move Applications to the Earth lab ORGANIZATION and update docs HOT 3
- PR only build? HOT 7
- remove travis secrets from repo HOT 2
- issues launching the hub HOT 3
- uploading files to the new hub is hanging HOT 1
- hub launch throwing memory errors and is very slow HOT 5
- Remove students from ea-hub
- shut down grading hub for the summer
- issues shutting down the hub HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hub-ops.