Efficiently use drf_social_oauth2 with simple_jwt #227
codewitgabi
started this conversation in
Ideas
Replies: 2 comments
-
This is amazing keep up the good work |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looking forward to implementing this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I was having issues using drf_social_oauth2 and simplejwt in my django application. I was able to find a way to use
Bearer
for oauth and thenJWT
for normal auth. But then of course, that does not make much sense so what I did was to modify drf_social_oauth2's ConvertTokenView in my application cause I also needed to pass custom data in my response and then from there, I was able to use do this;And then from here, I did this in my settings
This way, it still uses only simple jwt. What do you guys think?
Beta Was this translation helpful? Give feedback.
All reactions