AnsweredAssumed Answered

Access Token valid only for an hour.

Question asked by Rajesh Banoth on Aug 6, 2018
Latest reply on Aug 27, 2018 by Peter Love

The Token was Generated via Oauth process and successfully generated a final access token. 

Using canvas-api gem 

response = canvas.retrieve_access_token(params[:code], @canvas_api.redirect_url)

 

Below is the Approved Integrations Details: For one of the canvas user It is setting the expiry date just after an hour after creation of the access token. For rest of the customers the expires column is never. Can anyone please let me know why is this happening for this user. (I am not using grant_type= refresh_token anywhere). 

 

Token:
protected
App:LTI Application
Purpose:
Created:Jun 20 at 8:36am
Last Used:Jun 20 at 8:36am
Expires:Jun 20 at 9:36am

 

I tried to refresh token but below is the response. 

{
"error": "invalid_request",
"error_description": "refresh_token not found"
}

It is not a refresh token but has an expiration time just after 1 hour. Please advise.

 

Thanks In Advance.

Outcomes