Login with Mastodon Credentials on Discourse

I am trying to login with my mastodon credentials on my discourse on live discourse site. I made following configuration in my discourse and I am getting “redirect uri included is not valid”. Can anybody knows the solution?I installed oauth plugin in my discourse and providing client secret and id.I uploaded two screenshots. In one screenshot configuration of Mastodon client key and all is there which I done in my disocurse and in another screenshot the error is getting which I mentioned above.

Thank you for actually trying this! Can you post a full URL from the browser from the first screenshot?


This is full url

1 Like

There are other fields also present in that plugin but I am not getting url for those fields. I am attaching one screenshot which shows other fields.

I just want to know Is is really possible?? Cz if it’s not possible then I will not invest my time in it.

I haven’t tried personally. Maybe others?

Ok fine. I will try again and see what’s happen.

1 Like

I tried all things but it is not working

When I put “https://x.metastudio.org/auth/oauth2_basic/callback
" in my redirect uri in mastodon instance. Now I am getting following message when I am try to login in my discourse instance with mastodon credentials. First popup comes with the option of authorize and deny and when we clicked on “authorize” second message pops up which says that “Sorry, there was an error authorizing your account. Perhaps you did not approve authorization?”. I have attached screenshot of both pop ups.I am also sharing url which I am getting . Let me know if anybody knows something.

Following url I am getting in second window.