Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

launchSignInUX usage

Avatar

Level 2

Hi,

As of now the login UI is not appearing immediately up on opening mobile app. WE need to open app, click on 'sign in' from left navigation loads the login UI.

We are trying to launch our custom UI using method 'launchSignInUX'. But it doesnt seem success. Can some one help on this?

Please help on

1) How to use launchSignInUX to launch the signin page on app.

2) IS there any other way to launch login screen directly on app launch?

Regards,

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

You can call launchSignInUX from an HTML Article. The sign in UX that displays will depend on your authentication setup. If you are using authentication via the Direct Entitlement APIs, then the native sign in dialog will display. If you are using Custom Authentication with either a SAML, OAuth2 or Generic Identity Provider, then a web view with your sign in UX will display. If you include the HTML article as the first item in your Top Level Collection, it will become the Home screen and be the first thing a user sees. They can, however, navigate elsewhere.

We do have a "Sign In on App Launch" feature on the roadmap which will enable customers to require a user to sign in on app launch and not be able to navigate elsewhere until they have successfully authenticated. We do not currently have a release target for this year.

Kristy

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

Hi,

You can call launchSignInUX from an HTML Article. The sign in UX that displays will depend on your authentication setup. If you are using authentication via the Direct Entitlement APIs, then the native sign in dialog will display. If you are using Custom Authentication with either a SAML, OAuth2 or Generic Identity Provider, then a web view with your sign in UX will display. If you include the HTML article as the first item in your Top Level Collection, it will become the Home screen and be the first thing a user sees. They can, however, navigate elsewhere.

We do have a "Sign In on App Launch" feature on the roadmap which will enable customers to require a user to sign in on app launch and not be able to navigate elsewhere until they have successfully authenticated. We do not currently have a release target for this year.

Kristy

Avatar

Level 2

Hi Kristy,

would it be possible to consider adding launchSignInUX into the banner tap behavior? :

banner_options.png

this could give the opportunity to add nice "login button" anywhere in the app.

regards

Avatar

Employee

Hi,

We have an item on our roadmap to enable banners to include/use HTML. With this capability, you will be able to call the launchSignInUX API from the banner.

We do not have a release date for this feature yet; however work is in progress.

Kristy

Avatar

Level 1

could anyone please provide more of a concrete example of this in use? something a non-coder might be able to drop into a dynamic banner?

many thanks

m