Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X frame env #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

X frame env #1

wants to merge 4 commits into from

Conversation

eschersgirl
Copy link

No description provided.

@@ -45,6 +46,10 @@ def initialize(*args, &block)
def raw_info
@raw_info ||= access_token.get('/v2/account').parsed['account']
end

def callback_url

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

@@ -12,7 +12,8 @@ def initialize(*args, &block)

country_code = options.country_code
domain = OmniAuth::TerraCycle::Country.domain_for_code(country_code)
base_uri = "https://api.terracycle.#{domain}"
# base_uri = "https://api.terracycle.#{domain}"
base_uri = ENV['OAUTH_HOST'] || 'https://tc-us--x-frame.herokuapp.com'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use original version with domain for fallback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants