Unable to Copy Studio or Web URL in frontend-app-authoring (Teak & Sumac Release)

I’m facing an issue in both the Teak and Sumac releases of Open edX. In the frontend-app-authoring (Studio), I’m not able to copy the Studio URL or the Web URL for units.

I’ve recorded videos showing the problem:

Has anyone else experienced this issue? or is there some configuration I might be missing?

Are you running this over http - eg. on a local Tutor devstack?

I experienced a similar issue recently on my local Tutor devstack. The cause was was that the browser Clipboard API can only be used in a secure context. And http://local.openedx.io:8000 is not a secure context (it’s insecure http protocol, and not served from localhost). As far as I know, there’s no workaround apart from serving over https, or using localhost as the domain (if you’re running it locally in a devstack).

It would be nice if the frontend here had a graceful fallback when the clipboard api isn’t available.

3 Likes

yes running over http.
Got it, makes sense now.

For reference, I just created an issue for this at openedx/frontend-app-authoring#2463

1 Like