-
Notifications
You must be signed in to change notification settings - Fork 41
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
Addons FxA webhook endpoint is returning 403s to FxA #9044
Comments
Need to trigger password change, primary email change and account deletion from FxA on dev once mozilla/addons-server#20201 is deployed, and look into the logs. |
@diox Right now this is open , waiting to be closed. |
Sorry, still opened because I haven't got a fix yet, just added more logging to see what's going on. You can try triggering events I noted in #9044 and I'll look at the logs. |
From the fxA Profile page (which is Manage Firefox Accounts URL that redirects from AMO's Edit Profile Page to fxA stage) I changed password and the primary email for rusiczki.ioana+35@gmail.com |
I don't see anything in the logs, unfortunately this could mean it's not connected correctly for our dev environment... We might need to test on stage (which doesn't have the added logging yet) |
@diox Done on -stage , same accounts. I'll try again -dev with fxA stage, there could be a difference in behaviors but I'm not sure yet. |
The patch to add necessary logging has hit stage yet (needs to be cherry-picked) |
Right now on -dev when I changed password and left the edit profile page open in a different tab I an not being logged out. Meanwhile on -stage if I refresh the edit profie page -> I am logged out When I switch the primary email , on dev the old email is still displayed (only after I log out and login again I will see it changed). On stage the email address changes to the new one at a page refresh (no need to logout) |
I see the same at deleting the account. On -dev I am left with a login. P.S. these are older -dev issues. Ok, I'll wait for -stage then. |
The fact that you are automatically logged out/email is automatically updated on stage means that the error isn't reproducible there, so that's interesting... |
I don't see a different behavior on -stage after repeating the testing now. |
I can see some errors on stage & prod now with the added logging: |
Sentry issue: ADDONS-SERVER-PROD-B5 |
Sentry issue: ADDONS-SERVER-STAGE-35 |
The root of the problem is that FxA is sending jpadilla/pyjwt#814 would likely fix this but is not yet deployed. FxA could also send the |
Since QA couldn't find any functional issue, I suspect most of these errors could be caused by notifications of events we don't actually care about... But it'd be good to fix in any case. |
Fix is on stage. |
I made all the necessary operations again. -> it did not change in behavior since yesterday I've noticed at change password that after I'm logged out of AMO and try to login again, I'm asked to Confirm sign-in on email. I did not receive the email to confirm the sign-in from the first attempt so I clicked on Resend which works, I'm getting the email. -> this happened 3/3 attempts |
@ioanarusiczki I believe our intention is to push this change (from mozilla/addons-server#20210) to prod today. Has this been verified on stage? |
@bobsilverberg The results above are from today's checking. |
Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDSRV-210 |
Describe the problem and steps to reproduce it:
What happened?
Starting November 10th, 2022, the prod Addons endpoint (https://addons.mozilla.org/api/auth/fxa-notification) started throwing 403s for webhook delivery requests from FxA.
What did you expect to happen?
200s from this endpoint.
Anything else we should know?
Per @bbangert:
Since we don't see any other RPs (relying parties) returning the same errors, we are guessing it might be an issue validating the request.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: