Authentication - User active session
Please note that the current web page represents a community contribution and does not yet have formal validation or approval from the Digital Transformation Office compared to an official design. It should be noted that this contribution does not contradict any officially published version at the time of its addition. It is possible that when an equivalent official design is developed and gets formally published, it may differ partially or entirely from the design shown on this page.
This stable design does share the same benefits as any other stable functionalities and design as defined by the GCWeb public versioning API draft.
Please note, this example have raised the following concerns/comments for consideration:
- Need clarification: Context of use is ambiguous (raised by DTO)
- Alignment/Consistency: How does it align with how the major authentication services currently do it? (e.g. CRA MyAccount, Service Canada MSCA) (raised by DTO)
- Alignment/Consistency: Does this align with the direction that TBS OCIO is heading with their Sign in Canada project? (raised by DTO)
- Alignment/Consistency: Does this impact other authentication patterns? (raised by DTO)
- Comment: Concern about the use of the power icon on the sign out button - not sure this makes sense for the action (raised by DTO)
Expected output code
<div class="col-xs-5 col-xs-offset-7 col-md-offset-0 col-md-4"> <section id="wb-so"> <h2 class="wb-inv">Sign-on information</h2> <a class="btn btn-sm btn-default" href="#"><span class="glyphicon glyphicon-user"></span> (User name)</a> <a class="btn btn-sm btn-primary" href="#"><span class="glyphicon glyphicon-off"></span> Sign out</a> </section> </div>
Where (User name) is replaced by the user name of the logged user.
GCWeb Jekyll - Front matter example
"auth": {
"type": "active"
}
Page details
- Date modified: