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

Adding a Null Check for P1 Auth #287

Merged
merged 2 commits into from
Oct 18, 2023
Merged

Conversation

vbhayden
Copy link
Contributor

Since CaSS communicates with itself internally without carrying the auth header, the P1 middleware will receive an unexpected null for its JWT, causing an invalid state for the user it attempts to create.

This just adds a check to ensure that a null auth header is invalid before the actual JWT checks happen etc.

Security Impact: No security impact.
Presumptive Impact: Only enables CaSS to create a P1 user, whereas this wasn't possible before.

adding null check for p1 auth token
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Lomilar Lomilar merged commit 7e9b8d4 into cassproject:master Oct 18, 2023
5 checks passed
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.

2 participants