JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

alsdjflasjfafljljljlk | JustPaste.app
2 months ago0 views
👨‍💻Programming

alsdjflasjfafljljljlk

journey script:

var attributes = nodeState.get("lookupAttributes");
var name = attributes.get("username")
nodeState.putShared("username", name)
logger.error("Nodestate: "+JSON.stringify(attributes)+ name)
action.goTo("true");

Social Identity provider Normalise script:

(function () {
    var fr = JavaImporter( org.forgerock.json.JsonValue);

    var identity = fr.JsonValue.json(fr.JsonValue.object());
    identity.put('username', jwtClaims.get('username'));
	logger.error("CLAIMS: "+jwtClaims.get('username'))
  	return identity;
}());

← Back to timeline