Skip to content

Commit 1ab90ba

Browse files
Remove FXIOS-14400 [Relay] Remove Relay OAuth scopes (#31267)
* For now, remove the Relay scope from login and application scope * Minor formatting
1 parent 9674bf9 commit 1ab90ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

firefox-ios/RustFxA/FirefoxAccountSignInViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class FirefoxAccountSignInViewController: UIViewController, Themeable {
313313
// We ask for the session scope because the web content never
314314
// got the session as the user never entered their email and
315315
// password
316-
scopes: [OAuthScope.profile, OAuthScope.oldSync, OAuthScope.session, OAuthScope.relay]
316+
scopes: [OAuthScope.profile, OAuthScope.oldSync, OAuthScope.session]
317317
) { [weak self] result in
318318
guard self != nil else { return }
319319

firefox-ios/RustFxA/FxAWebViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class FxAWebViewModel: FeatureFlaggable {
125125
case .emailLoginFlow:
126126
accountManager.beginAuthentication(
127127
entrypoint: "email_\(entrypoint)",
128-
scopes: [OAuthScope.profile, OAuthScope.oldSync, OAuthScope.relay]
128+
scopes: [OAuthScope.profile, OAuthScope.oldSync]
129129
) { [weak self] result in
130130
guard let self = self else { return }
131131

firefox-ios/RustFxA/RustFirefoxAccounts.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public final class RustFirefoxAccounts: @unchecked Sendable {
180180
return FxAccountManager(
181181
config: config,
182182
deviceConfig: deviceConfig,
183-
applicationScopes: [OAuthScope.profile, OAuthScope.oldSync, OAuthScope.session, OAuthScope.relay],
183+
applicationScopes: [OAuthScope.profile, OAuthScope.oldSync, OAuthScope.session],
184184
keychainAccessGroup: accessGroupIdentifier
185185
)
186186
}

0 commit comments

Comments
 (0)