I don't believe this feature could be built-in since django-rest-framework's token authenticator only gives you the token. However, it might be nice document where a call to fetch the current user could be injected into the JavaScript flow. I'm trying to figure out how to do this now because I haven't found any suggestions online yet.
I don't believe this feature could be built-in since django-rest-framework's token authenticator only gives you the token. However, it might be nice document where a call to fetch the current user could be injected into the JavaScript flow. I'm trying to figure out how to do this now because I haven't found any suggestions online yet.