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

Support SRS Stack token for authentication. v6.0.74 #3794

Merged
merged 3 commits into from
Sep 8, 2023

Conversation

winlinvip
Copy link
Member

@winlinvip winlinvip commented Sep 7, 2023

When accessing the SRS Stack, you should log in and use a token for each request, or utilize the HTTP API with a secret Bearer token included in every request. The SRS Stack HTTP API proxies both /api/v1 and /rtc/v1 to the SRS HTTP API while ensuring secure authentication. Additionally, there is a console in the SRS Stack that requires the same token to request the SRS Stack HTTP API, which is then proxied to the SRS HTTP API.

The SRS Stack runs SRS with the HTTP API listening at 127.0.0.1:1985 on the local loopback interface, allowing only the SRS Stack to access it without authentication. All other users must login and access the SRS Stack through its interface, rather than directly accessing the SRS HTTP API within the SRS Stack.


Co-authored-by: panda [email protected]

When accessing the SRS Stack, you should log in and use a token for each request,
or utilize the HTTP API with a secret Bearer token included in every request.
The SRS Stack HTTP API proxies both /api/v1 and /rtc/v1 to the SRS HTTP API
while ensuring secure authentication. Additionally, there is a console in the SRS
Stack that requires the same token to request the SRS Stack HTTP API, which is
then proxied to the SRS HTTP API.

The SRS Stack runs SRS with the HTTP API listening at 127.0.0.1:1985 on the local
loopback interface, allowing only the SRS Stack to access it without authentication.
All other users must login and access the SRS Stack through its interface, rather
than directly accessing the SRS HTTP API within the SRS Stack.
@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Sep 7, 2023
@winlinvip winlinvip changed the title Support SRS Stack token for authentication Support SRS Stack token for authentication. v6.0.74 Sep 7, 2023
@winlinvip winlinvip added the RefinedByAI Refined by AI/GPT. label Sep 7, 2023
@winlinvip winlinvip changed the title Support SRS Stack token for authentication. v6.0.74 Support SRS Stack token for authentication. v6.0.75 Sep 7, 2023
@winlinvip winlinvip force-pushed the feature/srs-stack-token branch from 12a45f0 to 364db64 Compare September 7, 2023 23:34
@winlinvip winlinvip changed the title Support SRS Stack token for authentication. v6.0.75 Support SRS Stack token for authentication. v6.0.74 Sep 7, 2023
@winlinvip winlinvip merged commit 6f42ca6 into ossrs:develop Sep 8, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English. RefinedByAI Refined by AI/GPT.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants