Skip to content

Disable Single Sign-On for the authentication session in Android Okta OIDC SDK #285

Description

@kirtipopli83

I am working with Google Integration using Identity Provider.

Okta SDK is taking the default user that is available & linked in the browser. It is not asking to Sign in with Google account.

After checking a couple of documentation of Okta I found that,

If the OktaOidcConfig has noSSO enabled, the browser will always ask user to login. It will not show you the list of logged google accounts.

By default, the browser will check the last session, if valid, then the browser will automatically login the user, even after calling signOut method.

But in iOS, we can disable Single Sign On :

You can disable SSO capabilities by setting noSSO flag to true for OktaOidcConfig instance.

let configuration = OktaOidcConfig(with: {YourOidcConfiguration})
if #available(iOS 13.0, *) {
configuration?.noSSO = true
}

What is the way in Android to Disable SSO capabilities in Okta OIDC SDK ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions