Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
321 views
in Technique[技术] by (71.8m points)

siri - Add authentication to Custom Intents in iOS (Shortcuts)

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.

allow access

new shortcut

manage account

question from:https://stackoverflow.com/questions/65874070/add-authentication-to-custom-intents-in-ios-shortcuts

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...