Skip to content

Add a login token so that it is possible to control and allow only some users to use it. #1574

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pq-dong
Copy link

@pq-dong pq-dong commented May 6, 2025

Add a login token so that it is possible to control and allow only some users to use it.

Considering that after deployment, some users may want to restrict the usage to only some internal employees of the enterprise, especially in a public - network environment. Without proper control, the server load will be occupied by unauthorized users. Therefore, I have added a simple token verification mechanism to ensure that only users who obtain the token can continue to use the service.

image

Copy link

vercel bot commented May 6, 2025

@pq-dong is attempting to deploy a commit to the Corentin Thomasset's Team Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

sonarqubecloud bot commented May 6, 2025

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