ring.middleware.okta
Ring middleware for Okta Single Sign-on
okta-routes
added in 0.1.0
The compojure routes for Okta
POST /login
POST /logout
wrap-okta
added in 0.1.0
(wrap-okta handler options)
Ring middleware for Okta Single Sign-on
Accepts the following options:
:okta-home - (required) the URL to be redirected to for Okta login
e.g. https://company.okta.com
:okta-config - the location of the Okta configuration file
(defaults to "resources/okta-config.xml")
:redirect-after-logout - the destination URL to be redirected to after a `POST /logout`
(defaults to "/")
:skip-routes - a list of routes to skip Okta authentication
e.g. [:get "/about" :any "/contact"]
:force-user - a default user to be used for development