lib.xp.examples.portal.loginUrl.js Maven / Gradle / Ivy
var portalLib = require('/lib/xp/portal');
// BEGIN
var redirectUrl = portalLib.pageUrl({
path: '/my/page'
});
var url = portalLib.loginUrl({
redirect: redirectUrl
});
// END
var portalLib = require('/lib/xp/portal');
// BEGIN
var redirectUrl = portalLib.pageUrl({
path: '/my/page'
});
var url = portalLib.loginUrl({
redirect: redirectUrl
});
// END