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

Docs: inheritance in OAuth2PasswordBearerAuth #3969

Open
euri10 opened this issue Jan 24, 2025 · 0 comments
Open

Docs: inheritance in OAuth2PasswordBearerAuth #3969

euri10 opened this issue Jan 24, 2025 · 0 comments
Labels
Documentation 📚 This is related to documentation

Comments

@euri10
Copy link
Contributor

euri10 commented Jan 24, 2025

Summary

https://docs.litestar.dev/latest/usage/security/jwt.html

The OAuth2PasswordBearerAuth backend inherits from the JWTCookieAuth backend. It works similarly to the JWTCookieAuth backend, but is meant to be used for OAuth 2.0 Bearer password flows.

inherits here is wrong

class OAuth2PasswordBearerAuth(Generic[UserType, TokenT], BaseJWTAuth[UserType, TokenT]):

I didnt check the others, while the functionnality is correctly described I think the inherit wording is confusing

@euri10 euri10 added the Documentation 📚 This is related to documentation label Jan 24, 2025
@euri10 euri10 added this to Overview Jan 24, 2025
@github-project-automation github-project-automation bot moved this to Triage in Overview Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation 📚 This is related to documentation
Projects
Status: Triage
Development

No branches or pull requests

1 participant