Skip to content

Implementation of remote user authentication using a json API.#758

Open
rbarreiros wants to merge 1 commit into
sm0svx:masterfrom
rbarreiros:remote_auth
Open

Implementation of remote user authentication using a json API.#758
rbarreiros wants to merge 1 commit into
sm0svx:masterfrom
rbarreiros:remote_auth

Conversation

@rbarreiros
Copy link
Copy Markdown
Contributor

Simple POST authentication against a remote API using libcurl asynchronous multi interface to prevent main loop locking.

This patch uses libcurl to authenticate users logging in to svxreflector against a remote API, that can be used to manage users on multi reflectors, while still allowing for local configuration user authentication.

When USER_AUTH_ENABLE is 1, in section [REMOTE_USER_AUTH] (check svxreflector.conf) it'll attempt to contact the server configured with a bearer token. If connection fails, or any error is returned, it'll fallback to local user authentication. If the user is authenticated by the remote service, no further checks are made, and the user is logged in.

see src/doc/svxreflector-remote-auth.md for more information.

…rc/doc/svxreflector-remote-auth.md for more information
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

Successfully merging this pull request may close these issues.

1 participant