This page on post login actions describes some api.redirect methods. Does anyone happened to know where they are documented, or possibly the source code location? sendUserTo - do you have to manually craft the URI or is there a simpler way? The following doesn’t work for me:
// Send the user to https://my-app.example.com along
// with a `session_token` query string param.
api.redirect.sendUserTo("https://my-app.example.com", {
query: { session_token: token }
});
then from the Universal Login Page, I could get the parameters in config.extraParams.
var config = JSON.parse(
decodeURIComponent(escape(window.atob('@@config@@')))
);
console.log(config.extraParams);
This to prototype a flow, so I can do it with ACTIONs
[database | social | ... ](login) -> login page ->
conditionally redirect to get more information ->
... ->
complete the flow ->
return from post login ACTION
So far things work out, no final code yet…
best: steve