-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implicit dependencies on other middelware #12
Comments
It requires |
I can make a pull request if you want help |
This has been added recenlty to the docs. Is this clear enough now? It mentions wrap-params, but not yet wrap-session. |
I don't see any changes in the README, it only mentions (http/run-server
(-> (routes lagosta-routes)
(wrap-oauth2 okta-attrs)
(wrap-defaults (-> site-defaults (assoc-in [:session :cookie-attrs :same-site] :lax)))
wrap-params)
{:port 3434})))
does this look correct? I'm trying to use Okta and going to my SOLVED: it wasn't related, but maybe a bug? my
|
Yes, except that
That's the documentation for the redirect URI:
It's probably a good idea to mention that the launch-uri must be a relative URI, since it adds a route associated with that URI. |
This middleware assumes that the developer already applied wrap-session, wrap-cookie, wrap-params and possibly more. I struggled a bit today before remembering that. I guess this would be a blocker for less experienced ring users.
Would it be a good idea to insert a paragraph about those implicit dependencies in README.md? There already exists a reference to wrap-defaults, but that one is rather specific about a single problem.
The text was updated successfully, but these errors were encountered: