Oauth Clarification?

Issue #7 resolved
Former user created an issue

I currently have oauth setup on my web app and have access tokens stored for several users. Is it possible to use these existing access tokens with this api wrapper?

Comments (1)

  1. Alexandru Guzinschi

    @oblogic7 Yes you can, because this wrapper will not sign the request ( aka is not an OAuth client ). It will just build the authorization header from previously signed OAuth parameters.

    This approach will allow you to use any OAuth library you like, sign the request with that particularly library and then instantiate Bitbucket\API\Authentication\OAuth with those (signed) parameters. Please refer to OAuth authorization from the docs for a few examples.

    If you find bugs or if you have suggestions, please open a new issue for each one of them.

  2. Log in to comment