How to handle Smugmug callback method(servlet) for android
parkypark86
Registered Users Posts: 4 Beginner grinner
I have been struggling so much for this problem.
I have android project to connect to smugmug login page by communicating to servlets
So I have
* android app project
* servlet one (to get request token & receive authorized url)
* servlet two (to get access token after login. It is called after login which is good)
flow is supposed be like
the user hit the button to smugmug login on android project => the servlet one => android project to browse the url through webview => the user login => the servlet two * at this point, I got the access token on the servlet
=> come back to android project to store access token
everything works until getting access token. However, there is no way to sending access token from the servlet two to the android project since the servlet two is callback. It will called from smugmug server.
Could you please give me a idea. It looks really easy but I have been stuck for a few days..Feel so stupid.
Thank you
I have android project to connect to smugmug login page by communicating to servlets
So I have
* android app project
* servlet one (to get request token & receive authorized url)
* servlet two (to get access token after login. It is called after login which is good)
flow is supposed be like
the user hit the button to smugmug login on android project => the servlet one => android project to browse the url through webview => the user login => the servlet two * at this point, I got the access token on the servlet
=> come back to android project to store access token
everything works until getting access token. However, there is no way to sending access token from the servlet two to the android project since the servlet two is callback. It will called from smugmug server.
Could you please give me a idea. It looks really easy but I have been stuck for a few days..Feel so stupid.
Thank you
0