django-rest-framework-social-oauth2 icon indicating copy to clipboard operation
django-rest-framework-social-oauth2 copied to clipboard

Question

Open arvobrendon opened this issue 3 years ago • 10 comments

Hello guys my project using https://github.com/RealmTeam/django-rest-framework-social-oauth2 for my project that include stripe on mobile

I’m converting them to django native code

Is this the one I should use > https://github.com/jazzband/django-oauth-toolkit/issues

sorry new to coding

arvobrendon avatar Jan 04 '22 01:01 arvobrendon

I don't get the gist of your question. Sorry.

This repository is not maintained anymore. Do, i stead, you may use https://github.com/wagnerdelima/drf-social-oauth2 for authenticating.

All the best.

wagnerdelima avatar Jan 04 '22 08:01 wagnerdelima

If I'm not using social auth

Is this the one I should use ? https://github.com/jazzband/django-oauth-toolkit/issues

arvobrendon avatar Jan 04 '22 08:01 arvobrendon

django oauth toolkit will lead you to the same path: social authentication.

To be honest, https://github.com/wagnerdelima/drf-social-oauth2 is way easier to integrate.

wagnerdelima avatar Jan 04 '22 09:01 wagnerdelima

But I'm not using any social On my login

I'm using just Django API

arvobrendon avatar Jan 04 '22 09:01 arvobrendon

Right, then you don't need django-oauth-toolkit at all.

Does your django project not have any sort of authentication, authorization?

wagnerdelima avatar Jan 04 '22 09:01 wagnerdelima

My stripe payment needs Client_secret

arvobrendon avatar Jan 04 '22 09:01 arvobrendon

You will have to take from stripe itself. You should see it in your stripe dashboard. Stripe has nothing to do with social authentication.

wagnerdelima avatar Jan 04 '22 09:01 wagnerdelima

Screen Shot 2021-12-13 at 9 07 50 AM

It required client_secret

arvobrendon avatar Jan 04 '22 09:01 arvobrendon

Your code is not even in Python. You definitely don't need this library.

wagnerdelima avatar Jan 04 '22 09:01 wagnerdelima

I bought this from some online course it use Facebook That why I'm trying to convert them into Django

arvobrendon avatar Jan 04 '22 09:01 arvobrendon