How can I get user generated access token

Jump to solution
sharp_bruce_lee
Community Novice

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.

0 Likes
1 Solution
James
Community Champion

 @sharp_bruce_lee  

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.

View solution in original post

0 Likes