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
Did anyone figure this out? I'm trying to run unit tests on the resource server and haven't found a way to force authentication/authorization, or use a temp local OAuth provider.
I have separated
OAuth Provider
andResource Server
. The token and scopes work smoothly with simplepassword
type.However, since the
authentication_classes
comes from 3rd party my ordinaryforce_authentication(user=user)
fails.Do you have any
APIClient
for testing?Otherwise I have to override the class attribute before
as_view()
get calledThanks
The text was updated successfully, but these errors were encountered: