RealmTeam / django-rest-framework-social-oauth2

python-social-auth and oauth2 support for django-rest-framework
MIT License
1.06k stars 191 forks source link

Question #249

Open arvobrendon opened 2 years ago

arvobrendon commented 2 years ago

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

wagnerdelima commented 2 years ago

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.

arvobrendon commented 2 years ago

If I'm not using social auth

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

wagnerdelima commented 2 years ago

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.

arvobrendon commented 2 years ago

But I'm not using any social On my login

I'm using just Django API

wagnerdelima commented 2 years ago

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

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

arvobrendon commented 2 years ago

My stripe payment needs Client_secret

wagnerdelima commented 2 years ago

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

arvobrendon commented 2 years ago

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

It required client_secret

wagnerdelima commented 2 years ago

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

arvobrendon commented 2 years ago

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