Found this content helpful? Log in or sign up to leave a like!
Authenticate using user access token instead of username and password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm currently testing some aspects of how an LTI (not our own tool) in our Canvas environment is performing using selenium in python. For this I would like to authenticate to Canvas using a user generated access token as described on https://community.canvaslms.com/t5/Canvas-Basics-Guide/How-do-I-manage-API-access-tokens-in-my-user-...
If already read the post Server-to-Server OAuth2 in this group, but that post is already 9 years old and also it describes using shared keys and secrets form some LTI, but that is not an option for me as I am completely oblivious in LTI development.
Is there any chance that a user access token can be used to authenticate using python so tests can be performed headless on a server? Any suggestions are welcome, sample python code also!