Skip to main content

Sign In Page

Overview

Discover the diverse sign-in options provided by the Passport JS SUI SDK that facilitate seamless access. Understanding these options is crucial for enhancing user experience and access efficiency.

Note:
If passport.config.content.cloak is set to TRUE, passport login screen will always be opened until user logs in.

Displaying Sign In Page programmatically

To display the Sign In page programmatically in Credenza, you can use the passport.openUI function. This function allows you to navigate to different pages within the application using code.

To open the Sign In page, use the following code snippet:

typescript
passport.openUI(Passport.pages.LOGIN);

The passport.openUI function takes a parameter specifying the page to navigate to. In this case, Passport.pages.LOGIN is used to specify the Sign In page.