ring-oauth2 icon indicating copy to clipboard operation
ring-oauth2 copied to clipboard

OAuth 2.0 client middleware for Ring

Results 16 ring-oauth2 issues
Sort by recently updated
recently updated
newest added

The newer version of clj-time supports tagged literals for clj-time/date-time. Fixes #27

This PR is created to support the situation where the :authorize-uri has some runtime dependent parts, like a subdomain. Then; one can configure it like so: ````clojure (def profile {:myservice...

Some OAuth providers accept additional URL query params as part of the OAuth authorization URL. Some examples • Twitter supports `screen_name` and `force_login` parameters - https://developer.twitter.com/en/docs/authentication/api-reference/authorize • Google supports an...

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...

I can see both code and state attached to my callback url as query params, and (when `make-redirect` is called) `get-authorization-code` returns nil. I'm not sure why this would happen,...

Some OAuth providers support extra query params that aren't appropriate for hardcoding. One example is Google OAuth, which accepts an `hd` param to the authorization URL that can restrict logins...

Ever consider implementing that? It's a pretty normal thing for Oauth2 right?

I'm trying to create a web server backed by github authentication using `ring-oauth2` and Luminus. Here's what I've tried: Added middleware to wrap the `wrap-oauth2` function ```clojure ;; src/clj/project/middleware.clj ;;...

If I have in my ring configuration ```(assoc-in site-defaults [:session :store] (cookie-store {:key "a very secret cookie key"}))``` I get the error: ``` java.lang.RuntimeException: No reader function for tag object...

Hi, I'm not sure whether you're interested in this PR or not ... it's almost the same (and made for the same reasons) as the one on ring-anti-forgery. As this...