-
Notifications
You must be signed in to change notification settings - Fork 44
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 auth base concept #2020
base: main
Are you sure you want to change the base?
Add auth base concept #2020
Conversation
📦 Statoscope quick diff with main-branch: ⏱ Build time: -3.8 sec (-2.02%) ⚖️ Initial size: 2.44 kb (0.07%) 🕵️ Validation errors: 0 Full Statoscope report could be found here |
E2E Report is ready. |
return; | ||
} | ||
event.preventDefault(); | ||
history.replace('/auth/signin'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use constants for these paths?
@@ -0,0 +1,3 @@ | |||
import type {Algorithm} from 'jsonwebtoken'; | |||
|
|||
export const ALGORITHMS: Algorithm[] = ['RS256']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not PS256
? Is it slower?
Add auth base concept.