A
A
Alexander2018-03-19 15:01:39
Django
Alexander, 2018-03-19 15:01:39

How to display login box via facebook Django-rest-auth Vuejs?

Good afternoon, I'm doing a user registration through facebook and then the question arose, what should I do on the frontend (vue js)? How to display the login window through facebook?
I figured out the django-rest-framework, through the form in the framework itself I sent an access token, the user registered and I received a user token in response.
5aafa67c95bb8790082229.png
5aafa68d52545989224691.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
marataziat, 2018-03-27
@marataziat

Learn what Oauth2 is, you have to open a window on the client and when everything went well, it sends this Key with a POST request!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question