Skip to content

Releases: evilmartians/omniauth-ebay-oauth

1.0.1: Ruby 3.0 compatibility

01 Sep 11:11
v1.0.1
c5b4be2
Compare
Choose a tag to compare

Fixed

  • Ruby 3.0 compatibility (keyword arguments usage)

1.0.0: Allow OmniAuth 2.x, mark gem as stable

01 Apr 06:54
v1.0.0
5afdf93
Compare
Choose a tag to compare

Mark gem as stable

Changed

Add prompt option that allows relogin with different credentials

04 Apr 15:37
v0.5.0
e3ccbb3
Compare
Choose a tag to compare

See Getting user consent documentation page for details.

To dynamically set this option you can use Omniauth's setup phase:

provider :ebay_oauth, ENV['EBAY_CLIENT_ID'], ENV['EBAY_CLIENT_SECRET'],
    callback_url: ENV['EBAY_RU_NAME'], name: 'ebay',
    setup: >(env) { env['omniauth.strategy'].options[:prompt] = Rack::Request.new(env).params["prompt"] }

Change authentication endpoint

10 Aug 11:10
v0.4.0
9d214b7
Compare
Choose a tag to compare

Before: https://signin.ebay.com/authorize – always displays user consent screen “Allow APP_NAME to act on your behalf?”.

After: https://auth.ebay.com/oauth2/authorize – doesn't repeatedly ask for user consent.

I can't find new endpoint address in docs, but it is used in the wild.

Rename strategy to ebay_oauth

16 Mar 15:32
b3d3f0f
Compare
Choose a tag to compare

This allow to use this strategy simultaneously with old strategies (like omniauth-ebay and ebay_request)

As eBay allows to have only one OAuth RUName per application keyset while allowing to have many Auth'n'auth RUNames, it may be desirable to use Auth'n'auth for auxiliary signins, where obtaining of OAuth tokens is not required.

0.1.0

13 Nov 16:24
bbbf9a4
Compare
Choose a tag to compare

Initial release.

You can authenticate with eBay and get tokens with the scopes you need. Isn't it awesome?