File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ var safariVC: SFSafariViewController?
106
106
``` swift
107
107
Task {
108
108
do {
109
- let url = try await client.getOAuthSignInURL (provider : Provider.google , redirectTo : URL (string : {Your Callback URL})! )
109
+ let url = try await client.auth . getOAuthSignInURL (provider : Provider.google , redirectTo : URL (string : {Your Callback URL})! )
110
110
safariVC = SFSafariViewController (url : url as URL)
111
111
self .present (safariVC! , animated : true , completion : nil )
112
112
} catch {
@@ -161,7 +161,7 @@ NotificationCenter.default.addObserver(
161
161
``` swift
162
162
Task {
163
163
do {
164
- let url = try await client.getOAuthSignInURL (provider : ** Provider.apple ** , redirectTo : URL (string : {Your Callback URL})! )
164
+ let url = try await client.auth . getOAuthSignInURL (provider : ** Provider.apple ** , redirectTo : URL (string : {Your Callback URL})! )
165
165
safariVC = SFSafariViewController (url : url as URL)
166
166
self .present (safariVC! , animated : true , completion : nil )
167
167
} catch {
You can’t perform that action at this time.
0 commit comments