Skip to content

Commit efe2edc

Browse files
For now, remove the Relay scope from login and application scope
1 parent 14816ae commit efe2edc

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,8 @@ 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],
184-
keychainAccessGroup: accessGroupIdentifier
185-
)
183+
applicationScopes: [OAuthScope.profile, OAuthScope.oldSync, OAuthScope.session],
184+
keychainAccessGroup: accessGroupIdentifier )
186185
}
187186

188187
/// This is typically used to add a UI indicator that FxA needs attention (usually re-login manually).

0 commit comments

Comments
 (0)