Closed thihaaung6245 closed 8 years ago
Thanks for letting me know and providing me with example test and code. I will look closer at it soon.
I found the problem. When you got a new refresh_token
it wan't getting saved: https://github.com/aerogear/aerogear-ios-oauth2/pull/42
It is fixed now in 02ba191. I'll make a new release shortly.
I'll be waiting for your new release.Thanks.
The latest release contains the fix :) https://github.com/telenordigital/connect-ios-sdk/releases
Here is my test statement : 1.Login 2.It show user Info 3.Tapped "Refresh" which is refreshAccessToken() from oauth2Module 4.It returned the access token as we expected 5.Tapped "Refresh" again and it showed "Bad Request" Error 6.Then tapped "Refresh" again,it showed "oauth" error. 7.Then I can't Sign out anymore.
Any help?The app needs to be refreshing when the access token is expire.But,I cant refresh token more than one time.
Here is the sample which is changes of TelenorConnectIosHelloWorld project
TelenorConnectIosHelloWorld-master.zip
Here is the preview of the problem :