Hi Robin, quick question:
The callback URL I have been using is
https:// - and it doesn’t seem to be working. Does it look like I’m doing anything wrong? 1.hosted-by-discourse.com/auth/oauth2_basic/callback
What is supposed to go in “DISCOURSE_HOST”? I am currently using the Discourse hosting free trial so for the “DISCOURSE_HOST” section I am using the Discourse hosting URL - which looks like this
June 23, 2022, 9:31pm
You need to use your public site URL (whatever appears in the address bar of your browser). The
*.hosted-by-discourse.com addresses are our CNAME targets, and cannot be accessed directly.
Ok, thanks David, we’ll try that and let you know how it goes by tomorrow
The new callback URL worked!
But I do have another question - is it ok to leave these 2 fields (below) empty if the response to my token request doesn’t have any property such as a user id?
As you can see, I am using (or at least trying to) use the “Fetch user JSON for OAuth2” method, so I guess we can fetch the user id from that user info JSON response?
July 4, 2022, 9:44am
Yup, you can leave both of those settings blank
February 3, 2023, 10:31am
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.