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 auth base concept #2020

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

Add auth base concept #2020

wants to merge 2 commits into from

Conversation

jhoncool
Copy link
Contributor

Add auth base concept.

Copy link

github-actions bot commented Jan 17, 2025

📦 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 ↗️

Copy link

E2E Report is ready.

return;
}
event.preventDefault();
history.replace('/auth/signin');
Copy link
Contributor

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'];
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants