﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34391	Add async interface to contrib.auth	Jon Janzen	Jon Janzen	"This module currently doesn't offer a way to work with it directly asynchronously. Per the work in #31920 the middleware supports it, but if you need to directly call any of the functions you need to manually wrap them with the help of `sync_to_async`.

There are several functions here that could use an async version:
* `authenticate`
* `login`
* `logout`
* `get_user`
* `update_session_auth_hash`

I'd like to propose implementing them by just wrapping the synchronous versions (for now). Later on we can asyncify the internals down to the ORM. I've discussed doing this as part of a larger proposal at length here: https://forum.djangoproject.com/t/asyncifying-django-contrib-auth-and-signals-and-maybe-sessions/18770"	New feature	closed	contrib.auth	dev	Normal	fixed	async	Carlton Gibson	Ready for checkin	1	0	0	0	0	0
