Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

OktaAppAuth logout() method not working as expected #65

Open
anoop-xrx opened this issue Jan 21, 2019 · 4 comments
Open

OktaAppAuth logout() method not working as expected #65

anoop-xrx opened this issue Jan 21, 2019 · 4 comments
Milestone

Comments

@anoop-xrx
Copy link

public void logoutCurrentUser() {
    if (null != mOktaAuth && mOktaAuth.isUserLoggedIn()) {
        Log.e(TAG, "logoutCurrentUser: User logged out");
        mOktaAuth.logout();
    }
}

Steps to reproduce:

  1. Login to an OKTA account using login(context, positiveTarget, negativeTarget);
  2. logout the account using the logout() method;
  3. follow (1) again

On doing step 3, the OAuth browser is shown momentarily and then redirection to positiveTarget is done.

issue

@smokienko
Copy link

@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.

@anoop-xrx
Copy link
Author

@smokienko Any timeline for the availability on Maven?

@nbarbettini nbarbettini added this to the 0.2.0 milestone Jan 31, 2019
@anoop-xrx
Copy link
Author

@smokienko @nbarbettini Any updates when the 0.2.0 is going to be available via Maven?

@bdemers
Copy link
Contributor

bdemers commented Feb 1, 2019

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants