You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yo, I am not using django rest framework and don't have request.auth in my request object. Is there an alternative way to find the client_id of the current authorized request?
@itspage no there isn't at the moment, the auth field set by DRF is actually the token instance. We should probably add the access token instance to request so that you can do something similar, like request.token.application.client_id
I have my django rest framework API protected by Oauth2 toolkit, but I don't know how to get the client_id of the current authorized requests.
The text was updated successfully, but these errors were encountered: