New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Web session" is displayed in Firefox iOS Account Management page #6407
Comments
@vladikoff any idea how we can filter this? |
I think this is related to the technical implementation, but whatever backflips are required to make this look like Firefox for iOS (icon, text, etc), should certainly happen. |
Hm we need to make sure that the message here opens with the correct token: firefox-ios/RustFxA/FxAWebView.swift Line 193 in e7fec57
|
@vladikoff Is this something to be fixed on the FxA side or something else you need from us? |
I'll take a look at this, at this time I am not sure where the culprit is.
…On Thu, Apr 23, 2020 at 12:00 PM athomasmoz ***@***.***> wrote:
@vladikoff <https://github.com/vladikoff> Is this something to be fixed
on the FxA side or something else you need from us?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6407 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA7N45TTOZQCRI4CNUT27TROBQZFANCNFSM4MITETVQ>
.
|
Still looking at this... |
To fix the issue with the "Current Device" we need to switch to using the diff --git a/RustFxA/FxAWebView.swift b/RustFxA/FxAWebView.swift
index 200d6f397..ed43769c2 100755
--- a/RustFxA/FxAWebView.swift
+++ b/RustFxA/FxAWebView.swift
@@ -189,12 +189,14 @@ extension FxAWebView: WKScriptMessageHandler {
let data: String
if pageType == .settingsPage {
let fxa = RustFirefoxAccounts.shared.accountManager
- let email = fxa.accountProfile()?.email ?? ""
+ let uid = fxa.accountProfile()?.uid ?? ""
let token = (try? fxa.getSessionToken().get()) ?? ""
data = """
- { signedInUser: {
+ {
+ capabilities: {},
+ signedInUser: {
sessionToken: "\(token)",
- email: "\(email)",
+ uid: "\(uid)",
verified: true,
}
} Even with this change we will see |
👍 |
Steps to reproduce
Expected behavior
Actual behavior
Device & build information
Notes
Attachments:
-Firefox 25.0(17678)
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: