Fetch username and password


I created one mastodon instance and I want to fetch username and encrypted password of user from api.I stored users on another server and using mastodon for authentication. Now I want to fetch user’s info from api so that I can compare those credentials and give access to landing page on my django website. How can I do that?


You can use Mastodon as OAuth provider, so that people can log in to Django using Mastodon credentials.


Can you tell me how can I do that?


No, since I haven’t tried this.