Here’s a quick overview of what I did to convert my Chrome extension to a Safari Web Extension using Apple’s xcrun tool:
xcrun safari-web-extension-converter /path/to/my/chrome-extension
This command initiates the conversion wizard. It automatically creates an Xcode project for the Safari version of the extension. I followed the prompts—enabled signing, set the bundle identifier, and let it generate the scaffolding.
After that, I opened the generated .xcodeproj file in Xcode, made minor tweaks to the Info.plist if needed (like setting permission strings), and built the project.
The login issue persisted with this method for Safari and this same issue was being shown in Orion. Although I didn't use any of my code for Orion - I installed chrome extension for Orion and thought it may have done the same thing that I did.