I am using canvas app and have java code at backend. We are integrating using web server oauth.
I am using my java code to retrieve access token first time now i need to maintain the session , how can i refresh the token ??
If i use the same code which i used for retrieving token first time, i am getting issue and that does not work. So what is the best way to achieve that.