prismatic-io / embedded

Prismatic's library for embedding Prismatic.io into your application.
MIT License
24 stars 2 forks source link

prismatic.showIntegrations is throwing a 404 in iframe embed mode #64

Closed FatehAK closed 8 months ago

FatehAK commented 9 months ago

On using the showIntegrations method of the SDK, I'm getting a 404 not found page. But when I copy the iframe url and paste in a new browser tab it opens up properly.

Please let me know if any further details are required.

image

taylorreece commented 9 months ago

Hi @FatehAK , sorry you're running into that! I can replicate that behavior under two conditions:

Check if either of those are true. A quick way to check if a JWT is set is to look at the iframe that is embedded - the URL of the iframe should have a JWT in its search parameters.

I'm going to add #66 to help throw a more intuitive error for both of these situations.

taylorreece commented 8 months ago

These errors should be handled more gracefully by #66 . Please reach out if you have any more trouble embedding marketplace!