Skip to content

Provide user email when starting (redirect ) login flow #110

@mpierucci

Description

@mpierucci

Describe the feature request?

I've added a simple okta sign in flow in our app by following This documentation

It seems that works fine but as soons as I trigger the redirect flow, Okta already prompts me to login with a specific user ( I assume this is because its sharing data with the broweser where Ive logged in with okta due to work reasons)

This is all good, but in our flow we first ask the user to enter the email, to then decide if they need ot sign in thorough okta, or google etc.

This means that in rare edge cases, a user my prompt an email, and then be redirected to a okta sign in with a different email. Is there a way to prompt okta which email we are tryign to sign with when executing

CredentialBootstrap.oidcClient.createWebAuthenticationClient()
            .login(
                context = context,
                redirectUrl = BuildConfig.DEFAULT_KEY_OKTA_REDIRECT_CALLBACK
            )

New or Affected Resource(s)

n/a

Provide a documentation link

n/a

Additional Information?

This is mostly a Q but was not sure how to open one

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions