IBM Mobilefirst Javascript Client-side API WL.Client.isUserAuthenticated returns true even if session is expired -
mfp version 7.1.0.00.20151227-1730
- in login module set
expirationinseconds
20 seconds. - login , wait 20 seconds.
- session expires.
- when try access protected resources responds correct (asks authentication).
- but..
wl.client.isuserauthenticated("realmname")
still returns true (!).
seems function returns cached boolean, , not true status.
how check real auth status?
when using wlresourcerequest
automatically use new oauth framework authentication.
the wlclient
apis not relevant in oauth flow. instead, should @ wlauthorizationmanager
apis: http://www-01.ibm.com/support/knowledgecenter/sshs8r_7.1.0/com.ibm.worklight.apiref.doc/html/refjavascript-client/html/wlauthorizationmanager.html
Comments
Post a Comment