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

fix(auth): properly authenticate new endpoints #293

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Conversation

ygrishajev
Copy link
Contributor

refs #247

@ygrishajev ygrishajev requested review from Redm4x and baktun14 August 7, 2024 16:23
Base automatically changed from feature/errors to feature/billing August 8, 2024 08:06
Base automatically changed from feature/billing to main August 8, 2024 08:15
@@ -43,4 +50,12 @@ export class AuthInterceptor implements HonoInterceptor {
return await next();
};
}

private async getValidUserId(bearer: string, c: Context) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd put this method into AuthTokenService but I don't want that one to depend on http context. And seems like this method needs that in any way. Any thoughts @Redm4x ?

apps/api/webpack.dev.js Outdated Show resolved Hide resolved
@ygrishajev ygrishajev merged commit fa9de2f into main Aug 12, 2024
5 checks passed
@ygrishajev ygrishajev deleted the feature/auth branch August 12, 2024 10:07
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