TheGiftsProject/omniauth-ebay — pull request #6 by rpocklin (2012-12-07 02:26:35+00:00)
Title: Enable a choice of SignIn or SingleSignIn authentication types for Ebay OAuth.

For reference see: https://github.com/TheGiftsProject/omniauth-ebay/issues/4 and https://github.com/TheGiftsProject/omniauth-ebay/issues/5 which I believe this solves.

I've put most of the documentation into the commit, you optionally add another parameter to the provider line which is the authentication type you wish to use, 'single' or 'sso'. Since 'sso' was the only one available previously, i've left it as the default, which means it should be backwards compatible - you would only need the parameter if you wish to use 'single'.

Hopefully this means more people can start using this lovely gem.

I've tested this on my own site using the 'single' parameter, and the 'sso' type behaves as before, although I cannot end-to-end test the 'sso' use case since I am not approved by EBay. I tested that the internal_return_to parameter comes through as before, and I tidied up the ru_params stuff in case you want to add more in the future easily.

The project documentation should be also updated if you accept this pull-request to detail the new functionality.