Skip to content

Commit

Permalink
Merge pull request #12 from digitalocean/task/context-parameter
Browse files Browse the repository at this point in the history
Allow account parameter to be sent with strategy
  • Loading branch information
mchitten committed May 12, 2016
2 parents 77ce940 + 9c39830 commit c316e90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/omniauth-digitalocean/version.rb
@@ -1,5 +1,5 @@
module Omniauth
module Digitalocean
VERSION = "0.2.0"
VERSION = "0.2.1"
end
end
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/digitalocean.rb
Expand Up @@ -9,7 +9,7 @@ module Strategies
# use OmniAuth::Strategies::Digitalocean, 'consumerkey', 'consumersecret', :scope => 'read write', :display => 'plain'
#
class Digitalocean < OmniAuth::Strategies::OAuth2
AUTHENTICATION_PARAMETERS = %w(display state scope)
AUTHENTICATION_PARAMETERS = %w(display account state scope)
BASE_URL = "https://cloud.digitalocean.com"

option :name, "digitalocean"
Expand Down

0 comments on commit c316e90

Please sign in to comment.