Comments (5)
The easy ones to do are via python social auth: https://python-social-auth.readthedocs.io/en/latest/backends/index.html#supported-backends I can definitely look at this when some time opens up, but likely not soon (I'm a bit overloaded with things to do!)
if you want to jump in and PR to either sregistry or social auth (to add for other users) they have instructions here: https://python-social-auth.readthedocs.io/en/latest/backends/implementation.html
It might be a great project in spirit of Hacktoberfest! I'll put a label here in case anyone else is looking for a hacktoberfest project :)
from sregistry.
Thanks @vsoch ,
I'm very busy too ... π , but I will try to take a look to this ASAP.
Another question, there is a way to test locally sregistry login without a twitter account?
Thanks,
VΓctor.
from sregistry.
Merry X-mas & happy new year @vsoch ,
I did the pull request #72 to include the fiware OAuth2 backend (thanks to @emepetres !). Let me know what do you think about it. If you agree, we can iterate over the PR to get it ready to be accepted and merged.
An interesting use case with this backend is to deploy a local IDM as authentication server. We can also think about it.
Related with this use case, I would like to know if it's possible to give some privileges to users that are loged in using a particular social auth backend. Something similar to what is being done with LDAP:
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
"is_admin": "ou=...,dc=...,dc=..",
"is_superuser": "ou=...,dc=...,dc=.."
}
Is it possible right now? Do you think is it interesting?
Thanks in advance!
from sregistry.
thanks @victorsndvg ! For the PR, let's keep discussion on the PR itself. I'll re-iterate that I think the backend support is a fantastic idea, and the implementation to do would be having it as a plugin (akin to LDAP). For the general permissions question, could you write out how you see this working (and some examples) and please open a new issue? This issue is about integration with FiWare (and not this new idea). Thank you!
from sregistry.
Related with #72
from sregistry.
Related Issues (20)
- docker compose error HOT 7
- sregistry under https HOT 5
- Error while pushing images HOT 20
- idea: spec out idea for builder operator
- Faulty date sorting HOT 1
- LDAP login: Python package jose missing, Python syntax error during login HOT 13
- Change local storage location HOT 6
- cannot start with docker compose HOT 1
- shub://* urls do not work HOT 11
- PLUGINS_ENABLED cannot be set in the settings.yaml file. HOT 1
- config.py is no longer there.
- hard coding SOCIAL_AUTH_GITLAB_SCOPE breaks auth. HOT 1
- Missing labels / container build recipes are not populated HOT 6
- NGINX Manifest unkown HOT 8
- Configuring base_url for sregistry when deployed behind an Apache reverse proxy on port 80 HOT 3
- Username Invalid token for Singularity CE endpoint HOT 5
- Connection Refused errors when pushing images HOT 6
- Is sregistry working with apptainer? HOT 1
- Images uploaded via web interface not found with Singularity pull HOT 6
- Push gives error 404 HOT 3
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 sregistry.