Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

jsGettingStarted.html minor fixes #214

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docsv2/overview/jsGettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ We also create a basic `index.html` file:
.main-container {
padding-top: 70px;
}

pre {
white-space: pre-wrap;
}

pre:empty {
display: none;
Expand Down Expand Up @@ -903,7 +907,7 @@ $('.js-logout').click(function () {

When clicking the `Logout` button, the user will be redirected to IdentityServer so that the session cookie is cleared.

[logout](https://cloud.githubusercontent.com/assets/6102639/12256384/d9de8df0-b950-11e5-91b2-650a0a749a7f.png)
![logout](https://cloud.githubusercontent.com/assets/6102639/12256384/d9de8df0-b950-11e5-91b2-650a0a749a7f.png)

_Please note the screenshot above shows a page served by IdentityServer, not the JS application_

Expand Down Expand Up @@ -1182,4 +1186,4 @@ If it fails, the user must have logged out, so we have to ask him to log in agai

We can simulate that by opening two tabs to the `index.html` file, logging in both of them. Inspecting `manager.session_state` in the console will give the same value.
If we log out from one tab, we are redirected to IdentityServer where the session cookie will be cleared. Next time the session state is computed in the IdentityServer iframe of the other tab,
it will detect that it has changed.
it will detect that it has changed.