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

Issue with isSetUp helper method #17

Open
aboone opened this issue Dec 1, 2015 · 0 comments
Open

Issue with isSetUp helper method #17

aboone opened this issue Dec 1, 2015 · 0 comments
Labels

Comments

@aboone
Copy link
Member

aboone commented Dec 1, 2015

The isSetUp helper method is used before displaying any SheerID blocks, to make sure that the extension is configured. If this method returns false, it will not show any content.

This method is checking for the presence of the SheerID API access token in a setting named access_token. The issue is that when the extension is in Sandbox mode, the appropriate setting is named sandbox_access_token.

In order to work around this, you need to make sure to set the token for both environments (even if one is just some placeholder text). This can be done by toggling Sandbox Mode to "Off", setting a value, saving the settings page, then back to Sandbox Mode = On and entering a sandbox access token and saving.

@aboone aboone added the bug label Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant