I have written a web app. The web app implements the Mastodon API oauth flow (us...

@mcc@mastodon.social

I have written a web app. The web app implements the Mastodon API oauth flow (using the Rust cesium crate). When I click "login" on Firefox browser on Linux, Windows, or iPhone, it directs to mastodon.social, which asks you to log in to mastodon.social, which redirects back. Everything works.

When the same webapp runs on Safari, after logging into Mastodon, this screen is shown. There is no indication how to proceed further.

Has anyone seen this before, and what can I do about it?