cloudfoundry/omniauth-uaa-oauth2 — pull request #6 by jobster (2014-02-12 22:11:04+00:00)
Title: Updates callback phase to handle error case

We were implementing an OAuth2 integration for one of our service brokers and ran into an issue if the user declined to allow our client an access token. In this case, the redirect back from the omniauth middleware was causing an exception. It looked to us that the failure path was not implemented.

This changeset implements this path and will cause omniauth to behave in the correct manner.