Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: read group members from external file #752

Open
muzzol opened this issue Jun 12, 2024 · 0 comments
Open

FEATURE: read group members from external file #752

muzzol opened this issue Jun 12, 2024 · 0 comments

Comments

@muzzol
Copy link

muzzol commented Jun 12, 2024

I'm testing google_oauth on my last setup and is hard to manage members.
my proposal is having an external file (similar to includes) to read members from, something like

{
    "port": 5000,
    "address": "127.0.0.1",
    "title": "My Script Server",
    "auth": {
        "type": "google_oauth",
        "client_id": "COPY PASTE HERE",
        "secret": "COPY PASTE HERE"
    },
    "access": {
        "allowed_users": "/opt/allowed_google_operators.txt"
    }
}

and the file is one member per line:

operator1
operator2
operator3
...

also it would be nice if the file is polled for changes periodically so we don't need to restart the whole instance to reload it.

thanks a lot for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant