Skip to content

URL does not match any of the prefixes whitelisted for use in the add-on #96

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

Closed
sonha opened this issue Nov 29, 2017 · 8 comments
Closed

Comments

@sonha
Copy link

sonha commented Nov 29, 2017

@erickoledadevrel
Copy link
Contributor

You'll need to whitelist the URL in the add-ons manifest file: https://developers.google.com/gmail/add-ons/concepts/manifests#whitelisting_urls

@sonha
Copy link
Author

sonha commented Nov 30, 2017

@erickoledadevrel I whitelisted the URL like that
"urlFetchWhitelist": [
"https://gaddon.dev/",
"https://gaddon.dev/oauth2/"
],

"openLinkUrlPrefixes": [
"https://gaddon.dev/",
"https://gaddon.dev/oauth2/"
],

but its still given me an error.

@enderahmetyurt
Copy link

@sonha did you solve the problem?

@deepika537
Copy link

Experiencing the same problem. Trying to open a website on button click. It gives me an error as below eventhough I have whitlisted the url in manifest file. Please let me know How can I fix this issue.
URL (https://login.salesforce.com/) does not match any of the prefixes whitelisted for use in the add-on.
Whitelist:
Original:

@Ozaiko
Copy link

Ozaiko commented Apr 30, 2018

I have experienced the same problem here, did not find how to solve the issue.

@lukkyjoe
Copy link

lukkyjoe commented Jun 29, 2018

has anybody figured out how to work through this? whitelisting didn't seem to work for me (unless i whitelisted incorrectly..)

@skakanigit
Copy link

skakanigit commented Nov 5, 2018

Experiencing the same problem. Trying to open a website on button click. It gives me an error as below eventhough I have whitlisted the url in manifest file. Please let me know How can I fix this issue.
URL (https://login.salesforce.com/) does not match any of the prefixes whitelisted for use in the add-on.
Whitelist:
Original:

Hello @deepika537 ,
Have you found the solution to this problem? Really appreciate your help on this.

@skakanigit
Copy link

I just tried using gmail add-ons and get the following error:

"URL ... does not match any of the prefixes whitelisted for use in the add-on."

https://testdomain.com/oauth2/authorize?client_id=23434394431937-ljv054hhvbj4n4jiqor6uss2del0o46n.apps.googleusercontent.com&response_type=code&redirect_uri=https%3A%2F%2Fscript.google.com%2Fmacros%2Fd%2F1nESfiCONMfhFgocEdFjgkvMT9kiOSfVk7aw7Frz5imP4zW_wwK9hr70W%2Fusercallback&state=ADEpC8xifricPRf7_rnIReuX7DutomrafsY5NgQVTrq_8vy1YZfdQTQ8E13NU1FEc35s5p4jxneLL8v87qj13Dj49Fe-1ZVHdTZ0lAoJXMWIp98KOPYwwM2YAO7ho-

Anyone ideas what causes this?

Hi @sonha ,
Have you found the solution to this problem? Really appreciate your help on this.

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

No branches or pull requests

7 participants