Comments (6)
Right now, I'm working on a significant refactor of the code base (mentioned in #73), so it could be addressed from the client (headscale-webui) side as well later next month.
from headscale-webui.
It should be possible by using the groups in the OIDC provider. It could be done either on the provider side or the client. For example, the Nextcloud OIDC provider plugin has the option to constrain given OIDC clients to a specific group:
from headscale-webui.
@MarekPikula great work! would love to have the OIDC group limitation on client side (perhaps just as an env variable?) Keycloak is sometimes abit complicated for this limitation :)
from headscale-webui.
Yup, that's the plan. First, I must finish the refactor, which takes much longer than expected. I hope to finish it by the end of the week. Once it's merged, I can work on group limitations from OIDC.
from headscale-webui.
@MarekPikula great work! would love to have the OIDC group limitation on client side (perhaps just as an env variable?) Keycloak is sometimes abit complicated for this limitation :)
Apologize for my disturbance. Would like to know if you have found out how to configure Keycloak to limit permission by groups. If so, could you please explain it briefly? Thanks a lot!
p.s. I have set the following policy and applied it with setting a permission with it. But it just didn't work. Any user is able to
login and access headscale-webui even though the user is not in the group.
from headscale-webui.
evaluating the user shows that the user should be denied, however, actually the user can still log in and has access to headscale-webui.
from headscale-webui.
Related Issues (20)
- Setup with the Linux bare metal installation of Headscale? HOT 8
- Encountered the following error after deploying with docker HOT 3
- IndexError when trying to load front page HOT 2
- [Q+A] How to handle 100+ groups +1?
- Historic values from routing list are still clickable
- Exception when opening pages that loads preauthkeys from Headscale HOT 3
- Assigning Tags in webui does not apply
- OIDC KeyCloak => can't logout
- Incorrect terminal display
- OIDC return http not https address HOT 1
- OIDC server does not support profile
- Stuck on "Loading basic auth libraries and configuring app" HOT 3
- Cannot open /machines and /routes anymore HOT 7
- Honor `tagOwners` when tagging devices HOT 3
- Docker version 0.7.0 is not starting HOT 3
- Docker fails to start after update to 0.7.0 HOT 2
- TZ error in 0.7 HOT 2
- [bug] 0.7.1 can't reach HS_SERVER, but 0.6.1 can HOT 2
- Container not working with docker volume HOT 3
- What are the specific functions of Ephemeral in PreAuthKey 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 headscale-webui.