removed section about check sso (#1557)
see: https://github.com/keycloak/keycloak-nodejs-connect/pull/386
This commit is contained in:
parent
a1b9a6023c
commit
6ee39c4e6d
1 changed files with 0 additions and 10 deletions
|
@ -198,16 +198,6 @@ Example configuration:
|
||||||
app.use( keycloak.middleware() );
|
app.use( keycloak.middleware() );
|
||||||
----
|
----
|
||||||
|
|
||||||
==== Checking authentication
|
|
||||||
|
|
||||||
To check that a user is authenticated before accessing a resource,
|
|
||||||
simply use `keycloak.checkSso()`. It will only authenticate if the user is already logged-in. If the user is not logged-in, the browser will be redirected back to the originally-requested URL and remain unauthenticated:
|
|
||||||
|
|
||||||
[source,javascript]
|
|
||||||
----
|
|
||||||
app.get( '/check-sso', keycloak.checkSso(), checkSsoHandler );
|
|
||||||
----
|
|
||||||
|
|
||||||
==== Protecting resources
|
==== Protecting resources
|
||||||
|
|
||||||
Simple authentication::
|
Simple authentication::
|
||||||
|
|
Loading…
Reference in a new issue