{>"layouts/default.html"/}

{<content}

    <div class="container">
        <div class="row">
            <div class="col-md-12">
                
                <h2>Example #4</h2>
                <p>
                    This is an example of a Node application that is configured for SSO against a Keycloak server as the authentication
                    provider.  The SSO token uses JWT.  There is no session involved - 100% of the authentication state is determined from
                    the incoming JWT request cookie.
                </p>
                <p>                    
                    If you reached this page, you have been authenticated.  This means that you had a JWT cookie and it was validated against
                    the Keycloak server.  A Cloud CSM user was created if one didn't already exist for this user.
                </p>
                
                <br/>
                
                <div class="alert alert-danger">
                    You are not authenticated.
                </div>    
                
                <br/>
                <a href="/cookie/create">Create Cookie</a>
                
            </div>
        </div>
    </div>
    
{/content}
