Closed noinarisak closed 3 years ago
Hi @noinarisak,
The signOutOfOkta
starts the browser to clear the session. It then redirects to the application and triggers the result callback n UserInfoActivity
. Make the following changes to the success callback and check for the status AuthorizationStatus.SIGNED_OUT
then add
getSessionClient().clear();
navigateToStartActivity();
Thanks @FeiChen-okta! That did the job. I could submit a PR on the fix that you advised. I would assume other dev would probably want to see the same experience when they click on the SIGN OUT
.
@noinarisak Glad everything worked out. Sure you can submit a PR.
Hey @FeiChen-okta,
When I click on the SIGN-OUT button, I'm not redirected to launch/landing page and it seems like the session has not been revoke.
Steps:
SIGN IN
and enter credentialsSIGN OUT
and close the app.Other:
Screenshot![Screen Shot 2021-02-17 at 12 12 58 PM](https://user-images.githubusercontent.com/341437/108261932-e1279e80-7129-11eb-9577-18443e38c4fa.png)
Notice #7 but it referencing our old SDK.