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.
Found this content helpful? Log in or sign up to leave a like!
I am trying to incorporate a bunch of tests for my application and I was wondering if there is a test account or test authorization environment with some default auth token that I can use.
I can create a generic account on canvas.instructure.com but because the project is open source I do not wish for my auth token to be released in the wild.
Hello @michael_tsikerd ,
There is not a "default token" for Canvas that you can use. In general, you need to store the tokens somewhere outside files you are posting to the repository. This can be in an environment variable, or in a configuration file stored in the user's profile. I personally prefer the second approach because you can have your app look for the configuration file and, if it doesn't exist, prompt the user to enter their token and then write the configuration file for them.
As long as you make sure the configuration file is ignored when you push to the repo, you should be all set.
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