Within my template sometemplate.html
, there exists the following code:
<a href="{% url 'social:begin' 'facebook' %}" >Sign in using Facebook</a>
Upon loading this page, I aim to display an authenticating message and redirect to the specified link. Can someone please assist me with achieving this functionality using javascript? Thank you.