Wednesday, March 10, 2021

django social login with github issue

hi I need a little help related to social login via github.
everything is working fine but when user login through github and github redirects to user to home page then I want to display the github's username on front-end. but my program is not showing the username.
Note: When I try {{request.user}} then it displays admin username, which shouldn't be displayed. but when I try {{user.username}} then it displays nothing.
Can anyone help me? it is just a matter of 5 minutes if someone is experienced in it.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d5e415cd-579f-4eea-82fc-49d7feee4e5bn%40googlegroups.com.

No comments:

Post a Comment