okta-sdk-appauth-android
okta-sdk-appauth-android copied to clipboard
OktaAppAuth logout() method not working as expected
public void logoutCurrentUser() { if (null != mOktaAuth && mOktaAuth.isUserLoggedIn()) { Log.e(TAG, "logoutCurrentUser: User logged out"); mOktaAuth.logout(); } }
Steps to reproduce:
- Login to an OKTA account using login(context, positiveTarget, negativeTarget);
- logout the account using the logout() method;
- follow (1) again
On doing step 3, the OAuth browser is shown momentarily and then redirection to positiveTarget is done.
@anoop-xrx thanks for a feedback, we have merged new end session flow to master but it is still not released to maven central, we are working on it and it should be there soon.
For now you can try to build it locally and use it as a binary dependency.
@smokienko Any timeline for the availability on Maven?
@smokienko @nbarbettini Any updates when the 0.2.0 is going to be available via Maven?
@anoop-xrx you can grab it from bintray as of yesterday ;) https://bintray.com/okta/com.okta.android/okta-sdk-appauth-android/0.2.0