Searching Knowledge Base for v3


Knowledge Base for v4


Forums


Marketplace


Translations


Single Sign On (SSO)

Skip to end of metadata
Go to start of metadata
  • User logs in to external system and implicitly gains access to Joget Workflow without being prompted to login again.
  • Used with JavaScript API
  • Perform actions in callback of successful login
    <script type="text/javascript" src="http://localhost:8080/jw/js/jquery/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="http://localhost:8080/jw/js/json/util.js" ></script>
    
    <script type="text/javascript" >
    $(document).ready(function(){
        var loginCallback = {
            success : function(response){
                if(response.username != "roleAnonymous"){
                    alert("login successfully");
                }else{
                    alert("login fail");
                }
            }
        };
        AssignmentManager.login('http://localhost:8080/jw', 'admin', 'admin', loginCallback);
    });
    </script>
    

Labels

as as Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.