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

Add/update users via automated API call #94

Open
RalphAdams opened this issue May 24, 2024 · 1 comment
Open

Add/update users via automated API call #94

RalphAdams opened this issue May 24, 2024 · 1 comment

Comments

@RalphAdams
Copy link

Add a hook to allow users to be added to the database, or set to active/inactive via an API call from a separate system. This will allow a separate user database such as PPMS or - eg. one that controls lab security access - to send instructions directly to nomad to enable/disable/add users.

@tomlebl
Copy link
Contributor

tomlebl commented May 24, 2024

In theory, this is possible and should not be that difficult. API is already there but you need to authenticate the requests. So, we would need to create a different end point which would take an some API key rather than json-web token. For sure I can adjust things on my side. The question is can you set PPMS to send HTTP request to a given address and attach an object in the body of request. If yes then it can be done.

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

2 participants