-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
API: Secure HTTP API for Authentication. Port 1985 does not have any security authentication. #1640
Comments
CNDue to the fact that authentication issues are business-related, the authentication methods designed for different business systems are completely different. Therefore, the API of SRS itself is not suitable for authentication capabilities. The most suitable approach is to have SRS listen on Similarly, this approach also supports HTTPS API. For example, you can use Nginx or Go to proxy once and support HTTPS API. Then, this proxy can access SRS's API. Please refer to #2881 for more information. EMSRS won't support HTTP API authentication, or token verify, because authentication is defined by your business system. Different user has different business system, so it's impossible for SRS to verify the user for HTTP API. The best solution is to config SRS to listen at And this also works for HTTPS API, for example, to use NGINX or Go to covert HTTPS to HTTP, see #2881
|
Besides listening at localhost, we should support a Go proxy with authenticatino and some basic authentication. Go proxy:
SRS HTTP API with basic authentication:
See grafana Authentication API |
Description'
Please ensure that the markdown structure is maintained.
v3
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: