telenordigital / connect-ios-sdk

Docs 📒👉
https://telenordigital.github.io/id-docs.telenordigital.com/integrate-ios-sdk.html
Apache License 2.0
9 stars 8 forks source link

Custom Connect SDK Configuration Support for Access Token Expiry Duration Time #23

Closed thihaaung6245 closed 7 years ago

thihaaung6245 commented 8 years ago

Can you add configuration support at the SDK which we can set token duration to the Connect server?From what I am seeing right now,it expire after an hour.I want to make it higher than that time like 6hrs/time (then it will refresh token by opening the app) because of today extension support.

Since SDK methods are not available in Today Extension,we have to set token duration(expire time) to higher than 1hr.

Can we make configuration like that?If not,would you mind adding that support at SDK.

jorunfa commented 8 years ago

Hi!

Due to the specifications and security concerns regarding the OAuth 2 I'm not sure we can extend the duration of the Access Token. I will have to come back to you.