Closed Bug 1592708 Opened 5 years ago Closed 5 years ago

Please duplicate Lockbox/Lockwise production clientIDs to stage environment

Categories

(Cloud Services :: Server: Firefox Accounts, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jrconlin, Unassigned)

Details

We need to test the current Lockwise android client using the Staging environment. The FxA clientID currently being used is e7ce535d93522896, which is resulting in a client error.

Please duplicate the production clientID sets from production to stage so that we can test.

As part of this request, could we also ensure the Lockwise iOS client's Production settings are also duplicated to Staging?

The Lockwise iOS clientID is 98adfa37698f255b. I believe something is there already, but not sure how far from expectations it might have drifted.

:jrconlin :m_and_m - what should the respective values for redirectUri be for these two ids?

I'm not sure I can answer that. ni'ing :m_and_m

Flags: needinfo?(linuxwolf)

the redirectUrl's in staging should match what it's set to in production:

  • e7ce535d93522896 => https://lockbox.firefox.com/fxa/android-redirect.html
  • 98adfa37698f255b => https://lockbox.firefox.com/fxa/ios-redirect.html

For context, we need to enable the existing clients to work with the staging environment in order to proof out server work. For that, the redirectUrl needs to match what the existing clients expect to use or we'll get 400 errors on mismatched values.

Flags: needinfo?(linuxwolf)

Okay, I'll keep them the same as the production values.

Done.

$ curl -s https://oauth.stage.mozaws.net/v1/client/e7ce535d93522896 | python -mjson.tool
{
    "id": "e7ce535d93522896",
    "image_uri": "",
    "name": "Firefox Lockwise",
    "redirect_uri": "https://lockbox.firefox.com/fxa/android-redirect.html",
    "trusted": true
}
$ curl -s https://oauth.stage.mozaws.net/v1/client/98adfa37698f255b | python -mjson.tool
{
    "id": "98adfa37698f255b",
    "image_uri": "",
    "name": "Firefox Lockwise",
    "redirect_uri": "https://lockbox.firefox.com/fxa/ios-redirect.html",
    "trusted": true
}
$ 

Let me know if that works for you.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

:jrconlin, :m_and_m - do you want our stage or our stable environment? Stage is normally meant for our internal testing and can go down at any time whereas stable is meant for RPs to test against.

Flags: needinfo?(linuxwolf)
Flags: needinfo?(jrconlin)

I believe this is specifically for testing durable sync with different clients, so it needs to happen in stage, and will not be affected by availability concerns.

Flags: needinfo?(linuxwolf)
Flags: needinfo?(jrconlin)
You need to log in before you can comment on or make changes to this bug.