Skip to content

Ability to return Response from AuthenticationBackend.login method.#935

Open
sheldygg wants to merge 1 commit intosmithyhq:mainfrom
sheldygg:main
Open

Ability to return Response from AuthenticationBackend.login method.#935
sheldygg wants to merge 1 commit intosmithyhq:mainfrom
sheldygg:main

Conversation

@sheldygg
Copy link
Copy Markdown
Contributor

When logging in, I needed to set cookies for the user, the current pr allows you to do this while maintaining backward compatibility.

]

async def login(self, request: Request) -> bool:
async def login(self, request: Request) -> Response | bool:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry I know this is a very old PR, can you update the docs according to this?

@mmzeynalli
Copy link
Copy Markdown
Member

@sheldygg any updates?

@mmzeynalli mmzeynalli added the waiting-for-feedback Waiting feedback/answer/updates from contributor label Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-for-feedback Waiting feedback/answer/updates from contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants