[ARCHIVED] How can I get user generated access token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A user can generate an access token manually.
How can my LTI give a user a place, like a textfield or something like that to let the user paste the manually generated access token in.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You do not ask a user to paste a token into a textbox in your LTI. This is a violation of the Canvas terms of service.
Note that asking any other user to manually generate a token and enter it into your application is a violation of Canvas' terms of service. Applications in use by multiple users MUST use OAuth to obtain tokens.
You should use the OAuth2 approach (explained on the page I linked to) to get a token when you need to act as a user. Developer Keys are a way to give the application access that is not tied to a specific user.
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.