Permalink
Commits on Jun 11, 2014
  1. Merge pull request #41 from synlay/feature/scope_to_proplist_fix

    bipthelin committed Jun 11, 2014
    Fix oauth2_response:to_proplist/1 for correct scoping according to RFC6749 section 3.3
Commits on Jun 3, 2014
Commits on May 30, 2014
  1. Fix oauth2_response:to_proplist/1 for correct scoping according to RF…

    drobakowski committed May 30, 2014
    …C6749 section 3.3
    
    Scopes should be expressed as a list of space-delimited, case-sensitive strings.
    Also refactored oauth2_response_tests:to_proplist_test/0 to a property-based PropEr test.
Commits on May 7, 2014
  1. Merge pull request #39 from synlay/feature/client_authentication_with…

    bipthelin committed May 7, 2014
    …in_authorize_password
    
    Add additional oauth2:authorize_password/6 with previous client authentication and fix for #38
Commits on May 6, 2014
  1. Merge pull request #40 from synlay/feature/otp_17.0_dependency_update

    bipthelin committed May 6, 2014
    Add Erlang/OTP 17.0 to the Travis CI test matrix and update meck dependency
  2. Add Erlang/OTP 17.0 to the Travis CI test matrix and update meck depe…

    drobakowski committed May 6, 2014
    …ndency
    
    Missing Erlang/OTP R16B01 - R16B03-01 are also added to the test matrix.
Commits on May 5, 2014
  1. Add additional oauth2:authorize_password/6 with previous client authe…

    drobakowski committed May 5, 2014
    …ntication and fix for #38
    
    WARNING: Breaks the compatibility with existing backend implementations
    
    The client can now be authenticated before the resource owner's
    credentials. See RFC6749 / Section 4.3.2 for more details.
    In addition to AppCtx and Scope, oauth2_backend:verify_resowner_scope/3
    now returns the ClientIdentity so that oauth2:authorize_resource_owner/3
    can set the client for the #authorization{} record and
    oauth2:refresh_access_token/5 can be successfully executed.
Commits on Jan 27, 2014
  1. Merge pull request #36 from synlay/feature/dialyzer_tweaks

    bipthelin committed Jan 27, 2014
    Export types auth/0 and priv_set/0 for a better analyzing of backend implementations
Commits on Jan 23, 2014
  1. Merge pull request #35 from danielwhite/authorize-resource-owner

    bipthelin committed Jan 23, 2014
    Allow authorization with a previously authenticated resource owner
  2. Allow authorization with a previously authenticated resource owner

    danielwhite committed Jan 23, 2014
    This adds a new function `authorize_resource_owner/3` for establishing
    authorization where the resource owner has already been authenticated.
    Useful in the case where the Authentication Server is separate to the
    Authorization Server.
Commits on Jan 22, 2014
Commits on Jan 20, 2014
  1. Bump version 0.5.0

    bipthelin committed Jan 20, 2014
  2. Merge pull request #34 from danielwhite/fix-binary-expiration-values

    bipthelin committed Jan 20, 2014
    Fix binary encoded expiration values
Commits on Jan 17, 2014
  1. Fix never expiring access tokens and codes

    danielwhite committed Jan 17, 2014
    This number was being encoded as a binary, and later compared to an
    integer.  Erlang term comparison rules mean that the time of
    expiration was always greater than the current time.
    
    The 'expiry_time' parameter in a grant context is now an integer
    rather than a binary.  This may be a breaking change for anyone
    relying on this value.
    
    A side issue here was that the mocks in the TTL tests were returning
    bad results that would trigger the expected results.
  2. Preserve expires_in as an integer when converting a response to a pro…

    danielwhite committed Jan 17, 2014
    …plist
    
    This was intended as a convenience function for encoding the response
    to JSON.  The specification indicates that the parameter should be a
    number, and not a string.  Translating it to binary in to_proplist/1
    makes it more difficult for the encoder.
Commits on Jan 8, 2014
  1. Merge pull request #32 from synlay/feature/appctx_dialyzer_tweaks

    bipthelin committed Jan 8, 2014
    Dialyzer tweaks for the new usage of the AppCtx
Commits on Dec 6, 2013
  1. Changes to how AppCtx is used

    bipthelin committed Dec 6, 2013
    Try to harmonize the use of AppCtx in which all functions require a
    context that get's passed to the underlying backend functions. They in
    return respond with a updated context that get's handed back to the
    caller.
Commits on Nov 26, 2013
Commits on Aug 21, 2013
Commits on Aug 19, 2013
  1. Add application context argument to all oauth2 and oauth2_backend API

    ivanmr committed with bipthelin Jul 25, 2013
    functions
Commits on Aug 8, 2013
  1. Update version to 0.3.0

    bipthelin committed Aug 8, 2013
  2. Added missing invalid_grant error type

    ivanmr committed with bipthelin Jul 11, 2013
  3. More README updates

    bipthelin committed Jun 5, 2013
  4. Update README

    bipthelin committed Jun 5, 2013
Commits on Jun 5, 2013
  1. wrong tag link in README

    bipthelin committed Jun 5, 2013
  2. Start work of 0.3.0

    bipthelin committed Jun 5, 2013
  3. More README updates

    bipthelin committed Jun 5, 2013
  4. Update README

    bipthelin committed Jun 5, 2013