- We have two clients for the auth-server API, one in `content-server/app/scripts/lib/auth` and `fxa-js-client`. The content-server one was meant to replace fxa-js-client but I didn't finish the work to get it running on nodejs.
- Extracts the content-server implementation into `fxa-auth-client`
- Wraps the implementation with shims to work with nodejs in `server.ts`
- Updates references to fxa-js-client to use fxa-auth-client
- Removes fxa-js-client
Because:
* The gql-api needs the ability to issue new recovery codes and
update the users two-factor auth settings.
This commit:
* Add's two-factor auth and recovery code mutations.
Closes#5395
Because:
* We want to alter/update the profile avatar/displayname and modify
email addresses in use.
This commit:
* Add's mutations to upload an avatar, change the display name, and
manipulate email addresses in use.
Closes#5397, #5396
To reduce duplication and encourage consistency in our
typescript builds this extracts most of the options
into two base configs, one for node and one for browsers.
Also, in order to better utilize workspaces the require
paths to fxa-shared and fxa-react were updated throughout.