Announcements
The Spotify Stars Program: Celebrating Values Week!

Help Wizard

Step 1

NEXT STEP

Iframe embed in Preview mode when containerized (Docker) in AWS EC2 instance.

Iframe embed in Preview mode when containerized (Docker) in AWS EC2 instance.

App Link:  http://ec2-54-183-154-39.us-west-1.compute.amazonaws.com

I understand the Iframe is connected to whether the User is logged into their web-based Spotify account which I believe is ensured when the User connects their account to my web-app. I can confirm the React components interacts accordingly with the User's Spotify playlist and passes information to the embedded Iframes. However when the app is dockerized and hosted on an AWS EC2 instance, the Iframes seem to not register that the User is logged in when accessing the Public IPv4 DNS, given that it renders the Iframe embeds in preview mode.

 

This is not the case when my app is deployed locally; correctly allowing the track embeds to be played fully. Any thoughts on how to achieve this in an EC2 instance?

 

Please select "Preview" and connect your Spotify account to my web-app. Selecting the Hearts should save the track onto your Spotify "Liked" playlist. However, the IFrame is likely to display the tracks in preview mode.

 

Dockerized React App in an AWS EC2 Instance 

 

Reply
0 Replies

Suggested posts