Hi Ryan, On Thu, Sep 8, 2016 at 6:57 AM, Ryan Kelly <rfke...@mozilla.com> wrote:
> On 8/09/2016 01:07, Juan García wrote: > > Hi again dear FxA-devs, > > > > I am still having (somehow unimportant) problem with my fxa-local-dev > > which I'd love to solve. > > > > If I click on "Manage account" on the preferences, I get an 'invalid > > assertion' error in the oauth server: > > > > oauth-server PORT 9010-6 fxa-oauth-server.assertion.INFO < > http://fxa-oauth-server.assertion.INFO>: > > invalidAssertion {"msg":"invalid > > email","val":"9653d3c77db24890afb1f2a4e6e19...@fxa-auth.jua.cool" > > <mailto:9653d3c77db24890afb1f2a4e6e19...@fxa-auth.jua.cool>, > "assertion":"eyJhbGciOiJSUzI1NiJ9.eyJwdWJsaWMta2V5Ijp7ImFsZ29yaX > RobSI6IkRTIiwieSI6ImMxOGIzN2E1MDk2YWI1YmYyMTBlMTkwZTRjYjU2MD > k5YjQ2MDg4N2E0ODJiZDk4NTdhODNkMzU0NjZjN2E1MDI3OWU5NzBhNTNlZm > RkYWY3NWRiMjUzNmQyNDRmY2RkZmM0ODE3NTM1YmNiMzZhYWI4NjNlZjhmYj > gxNTk2MGIwODIwYTM0YjExNzA3ZWZhMWIwNzMwODhlY2ViNmYxNjBhNzkwYT > NhM2YxMzAyNDg4MWFlZGEzNTY3OTQ4NWRkYmEwZmFhOWZlNDVjYmQyMTMyNT > VhNjQ0OWU4ODhmODA3Y2RjZmY0YWIyNTNhODljZWU1ODEzYWY1ZjNlNDZiNm > QiLCJwIjoiZmY2MDA0ODNkYjZhYmZjNWI0NWVhYjc4NTk0YjM1MzNkNTUwZD > lmMWJmMmE5OTJhN2E4ZGFhNmRjMzRmODA0NWFkNGU2ZTBjNDI5ZDMzNGVlZW > FhZWZkN2UyM2Q0ODEwYmUwMGU0Y2MxNDkyY2JhMzI1YmE4MWZmMmQ1YTViMz > A1YThkMTdlYjNiZjRhMDZhMzQ5ZDM5MmUwMGQzMjk3NDRhNTE3OTM4MDM0NG > U4MmExOGM0NzkzMz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HTXmsFuem69RZ6UVq26FDENvBQxbyaAtKNtW1E4f82s7SPEfHqa6s_ > qSuTbeZ2B9eqRRg4qt9zF3d5ZLH75WjAmiTkKL7d_VGTKRFUKAfgf_ > PeUePS8b0FLIWLuOXWX9wixlnsvmeWQQqkT3W_WQX_8LK_ > o6RxueHukrznUN0NlIiS94p2fUd1UntNwAbFaUsu6AQuELgiiho5dK7CAr6i > s3_MIA0jgx1tBP47X3HVHzwXzy_Gz0kBnHnQ~eyJhbGciOiJEUzEyOCJ9. > eyJleHAiOjIyNTk0OTk4Nzc2NTQsImF1ZCI6Imh0dHBzOi8vZnhhLW9hdXRo > Lmp1YS5jb29sIn0.tiDhpTs4-knxuCVZUIg1uMSvoAAZ_0JwK6-m06p00w31MonFzTCEYQ"} > > > > I have managed to get it to work changing the browserid.issuer in the > > file: fxa-local-dev/fxa-oauth-server/config/dev.json > > > > from "issuer": "127.0.0.1:9000 <http://127.0.0.1:9000>", > > to "issuer": "https://fxa-auth.jua.cool" <https://fxa-auth.jua.cool> > > > > Like this, I can access the account preferences. > > > > And the question is, can I configure this in the servers.json file using > > an 'env' variable? > > > > I have tried both "AUTH_SERVER_URL": "https://fxa-auth.jua.cool/v1" < > https://fxa-auth.jua.cool/v1> and > > "FXA_URL": "https://fxa-auth.jua.cool/v1" <https://fxa-auth.jua.cool/v1> > but they don't seem to work. > > > Looks like you should be able to control this using the "ISSUER" > environment variable in the oauth-server: > > https://github.com/mozilla/fxa-oauth-server/blob/master/ > lib/config.js#L26 > > > Hope that helps! > > It definitely did. It works! Juanito
_______________________________________________ Sync-dev mailing list Sync-dev@mozilla.org https://mail.mozilla.org/listinfo/sync-dev