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

Request user attached to the request #8

Merged
merged 7 commits into from
Aug 15, 2021
Merged

Request user attached to the request #8

merged 7 commits into from
Aug 15, 2021

Conversation

JonasKs
Copy link
Member

@JonasKs JonasKs commented Aug 14, 2021

Solves #6

@JonasKs
Copy link
Member Author

JonasKs commented Aug 15, 2021

The more I think of this, I think it makes sense to return the token raw.

Will revert that before merge.

@JonasKs
Copy link
Member Author

JonasKs commented Aug 15, 2021

TODO: Document request.state.user

Consider: Contextvar for storing the user object 🤔

@JonasKs JonasKs merged commit 8122b19 into main Aug 15, 2021
@JonasKs JonasKs deleted the request_user branch August 27, 2021 14:27
nikstuckenbrock pushed a commit to nikstuckenbrock/fastapi-azure-auth that referenced this pull request Oct 16, 2023
Request user attached to the request
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.

1 participant