You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really appreciate the Usage example for Swift UI. The native web example is just different enough that I'm not sure what to do in the SwiftUI paradigm. My goal is to use native login to make MFA logins go smoother and get better password manager support.
if let url = api.authenticateWebNativeURL(){UIApplication.shared.open(url)}...func application(_ app:UIApplication, open url:URL, options:[UIApplication.OpenURLOptionsKey:Any]=[:])->Bool{Task{@MainActorindo{
_ =tryawait api.authenticateWebNative(url: url)// Notify your code the auth is done}catch{print("Error")}}return true
}
URL Types
A am also not sure what do for this guidance:
If you use deeplinks, add your callback URI scheme as a URL Scheme to your app under info -> URL Types
For the non-native login I added teslaswift://teslaswift as a "Allowed Redirect URI(s)" in the tesla developer dashboard to get things working.
The text was updated successfully, but these errors were encountered:
I really appreciate the Usage example for Swift UI. The native web example is just different enough that I'm not sure what to do in the SwiftUI paradigm. My goal is to use native login to make MFA logins go smoother and get better password manager support.
URL Types
A am also not sure what do for this guidance:
If you use deeplinks, add your callback URI scheme as a URL Scheme to your app under info -> URL Types
For the non-native login I added
teslaswift://teslaswift
as a "Allowed Redirect URI(s)" in the tesla developer dashboard to get things working.The text was updated successfully, but these errors were encountered: