mbuczko / cerber-oauth2-provider

Clojure implementation of RFC 6749 OAuth 2.0 authorization framework (OAuth2 provider)
Apache License 2.0
58 stars 11 forks source link

Fix issue: #13, and fix issue: #15 #14

Closed jaredchendr closed 6 years ago

jaredchendr commented 6 years ago

Fix the issues:

  1. It issues access token and refresh token when I request token by password grant_type, but I found that there was only refresh token in database. #13
  2. Cannot cast java.time.LocalDateTime to org.joda.time.ReadablePartial #15
mbuczko commented 6 years ago

thanks for a fix to #13, I have just checked it and it works perfectly.

I'm however a bit concerned about #15 as I did my best to avoid mixing in joda time dependencies :) Java 8 introduced better designed date & time API and I wanted to stick with it and drop other helpers like joda. Is there any chance you could trace down when/where these exceptions occur?

jaredchendr commented 6 years ago

I have commented other exceptions about #15 just now on the issue page of #15 .