The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Hi all,
I'm working through getting this setup for our campus and have run into an issue that I'm scratching my head at.
I've read through the API docs and understand what's going on but within the oauth2response.php file, where it builds the post up to the /login/oauth2/token, I've verified the client_id, redirect_uri, client_secret and the code are being posted but am unable to get any sort of json response back at all.....just blank.
Any ideas or things to test? I've built out my dev keys and assigned the values in the config file.....
Thanks,
-Chris
I apologize for not responding sooner. The first thing you can try is echoing out the $url variable that is set on line 50 of oauth2response.php to make sure that the URL is proper. You can also take this URL and try a tool like Postman to manually send values to it. Let me know how that goes, and we'll continue from there.
Hi Jacob - thanks for the response! I forgot to update this one as I did manage to figure it out - I added "curl_error" to the output and managed to grab that it was "SSL certificate problem: unable to get local issuer certificate" so I finally had something to work with. Got that addressed and everything appears 100% - our Instructional Technologist is now busy testing away....
Thanks again
-Chris
Great! Let me know if you have any other issues. If this issue is resolved, please mark it as "answered".
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.