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 jwt verify #7

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Add jwt verify #7

merged 2 commits into from
Sep 24, 2024

Conversation

likui628
Copy link
Owner

No description provided.

@likui628 likui628 merged commit 9431669 into main Sep 24, 2024
1 check passed
@likui628 likui628 deleted the test branch September 24, 2024 12:53

const options: StrategyOptions = {
jwtFromRequest: ExtractJwt.fromAuthHeaderAsBearerToken(),
secretOrKey: process.env.JWT_SECRET || 'your_jwt_secret',

Check failure

Code scanning / CodeQL

Hard-coded credentials Critical

The hard-coded value "your_jwt_secret" is used as
jwt key
.
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