mozilla / fxa

Monorepo for Mozilla Accounts (formerly Firefox Accounts)
https://mozilla.github.io/ecosystem-platform/
Mozilla Public License 2.0
580 stars 210 forks source link

`/v1/certificate/sign` no longer works (This endpoint is no longer supported) #17126

Closed Mikescher closed 1 month ago

Mikescher commented 1 month ago

Hello,

I am the maintainer of ffsclient, a fxa cli client to query bookmarks/tabs/etc.

Since 2024-05-15 my normal session-auth workflow no longer works (the /v1/certificate/sign returns "This endpoint is no longer supported").

Is there (preferably) an easy way to update my code and make it work again? or can you give me a few hints where I should look.

What I have already done:

 

Kind Regards ~ Mike

┆Issue is synchronized with this Jira Task

dschom commented 1 month ago

Thanks for reporting this. The v1/certificate/sign endpoint was there to support browserid which is phased out. Patterning your API usage after how our auth-client works is the correct approach going forward.

We realize documentation for this is not sufficient at the moment, and we want to improve this. We will be updating our docs in the near future, and this should provide you with further support. If there are specific questions you have, feel free to respond, and we will try to make sure they are addressed.

By the way, the right hand side of your session auth work flow diagram looks correct, and if you follow that flow you should be able to get the key needed to access your sync data (ie tabs, bookmarks, etc).

Mikescher commented 1 month ago

@dschom Thanks I managed to implement OAuth, looks like everything works again :D

If anyone else stumbles across this issue:
The codejam.info blogposts were actually pretty useful to get everything working..