Howdy!
Inside of the hosted page I have this triggered when a user clicks a social login button:
webAuth.authorize({
connection: connection,
flow: flow
}, function (err) {
if (err) {
displayError(err);
}
});
Where flow symbolizes if the user is logging in or signing up. This variable can change because a user can start in the sign up page where mode=SignUp but click on log in instead and the hosted page will render the login inputs, and mode can’t change so this toggle is being tracked with flow.
This param is needed inside of Rules to handle various use cases, but in the case when the connection is social (facebook, google-oauth2, etc) this param does not persist to the rule. Is there any way to pass in options when hitting authorize to a social connection from the hosted login page?