wagnerdelima / drf-social-oauth2

drf-social-oauth2 makes it easy to integrate Django social authentication with major OAuth2 providers, i.e., Facebook, Twitter, Google, etc.
https://drf-social-oauth2.readthedocs.io/en/latest/
MIT License
270 stars 34 forks source link

Use serializers for views #104

Closed denizdogan closed 1 year ago

denizdogan commented 2 years ago

It would be nice if there were DRF serializers for the various token views so that it would be easier to see exactly what is expected from the client side. This could also help with generating the OpenAPI spec, using drf-spectacular.

wagnerdelima commented 2 years ago

Hi @denizdogan.

I will keep this in mind. I may work on it soon, actually. Thank you for your sugestion.

wagnerdelima commented 1 year ago

@denizdogan I started working on this. You can see PR attached to this issue.

Any suggestion and contribution will be very welcomed.

denizdogan commented 1 year ago

@wagnerdelima Thanks. I don't use Django in general anymore, so unfortunately I won't be able to assist here.

wagnerdelima commented 1 year ago

@denizdogan that's alright. The idea is still valid.