I am currently working on an iOS app that integrates with Shortcuts.
The app itself has authentication built in, and users are required to sign into the app before they can make use of the Actions that our app provides.
During our research to determine best practises using Shortcuts, we discovered that Atlassian's Trello product makes use of an authentication modal accessed via the action. This then loads an OAuth web page that allows users to authenticate with Shortcuts to retrieve data before they've signed into the native app.
My question is: how can we replicate this behaviour? I have scoured Apple Developer forums, StackOverflow and the rest of the web for clues but I'm struggling to find anything.
I've attached some screenshots of this flow below. If anyone could point me in the right direction I'd be most grateful.
question from:
https://stackoverflow.com/questions/65874070/add-authentication-to-custom-intents-in-ios-shortcuts 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…