Hmm, I’m not sure. What I did above is a little bit hacky… it makes a link that visits the /auth/discord
URL directly — I think there’s probably a better way to call Discourse’s auth functions instead (which would likely avoid the problem), but it’s a bit beyond my expertise.
2 Likes