<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00008C079uSABOkta Classic EngineSingle Sign-OnAnswered2020-04-03T09:03:22.000Z2020-04-01T11:30:49.000Z2020-04-03T09:03:11.000Z
Hide the email and password login when accessing via React Native dependency

Hi, we are using Okta as our auth provider in our React Native app, and using the Okta React Native official dependency as well : https://github.com/okta/okta-oidc-js/tree/master/packages/okta-react-native

For the direct login with credentials we use the dependency's "Custom Login" option which communicates directly with the Okta API.

But for the social instance, we used the dependency's Browser log in which opens the social login options in a disposable browser window.

My question is, can we possibly hide the Email and Password combo from this page, but only in the case we are accessing from this scenario.

I had noticed that when accessing from the dependency's browser window we get this specific okta_key in the window.location.href, so wanted to add hiding CSS conditionally depending on this, but it seems to me as overkill for such a menial task. I would atleast perhaps like to add a specific URL parameter, something like hideEmailLogin in this case. Would somebody know if this is doable?

 

Thanks in advance,

Nikola.


This question is closed.
Loading
Hide the email and password login when accessing via React Native dependency