We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

DCS: call API only after login successful

Received Response
19
Views
3
Comments
edited Aug 25, 2021 7:16AM in Visual Builder 3 comments

Summary

DCS: call API only after login successful

Content

Hi All,

We have created a sample DCS app and added few links in the shell template. In the shell, there is action chain after user clicks on Sign In "UserSignInClickAction".

In this After Login action, we have added OpenURL action to redirect this to another VB application.

How can we identify whether the login is successful or not in this action chain?

After login successful we want to call one API.

For the above usecase, we added one URL paramter for the other VB app and was passing the parameter in the DCS app's UserSignInClickAction's OpenURL, and in the other VB app on load of application scope we are checking the parameter value and based on that API is being called, but the issue we see here is API is called twice back to back.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!