* Forgot to do this when I added them.
* May add a script to compress them on commit.
* Adding new binary blobs bloats repo over time, we can always purge old assets if it's a problem.
* The social card is slightly too bright to compensate for PNG gamma interpretation not being consistant between browsers (too bright in some looks better than too dark in others). Maybe it should be a JPEG.
* New email template
* New callback error handling
I anticipate adding more changes and a new beta before we release 2.2.0 but wanted to test these changes.
* Prevents links from being turned into hyperlinks by email clients
* Improve UI with a primary action button and better font sizing and spacing in the template
* Adds email address to body to clear indicate who they will be signing in as
While not exactly a bug in NextAuth.js it does resolve#331
Currently if a user hits a cancel button after selecting the option to sign in with an OAuth provider an error is displayed.
This error is only triggered in production.
This update refactors error handling so that in both dev and prod modes, the user is directed back to the sign in page.
Not all OAuth providers have a cancel button on their sign in page (e.g. Twitter does, Google doesn't).
The oAuthCallback has been slightly refactored to make debugging easier. It is still pretty horrible, but i don't want to do major refactoring of it until we have tests we trust in place.
The action to publish to NPM fails as it can't run the DB test yet so removing that.
Changing the test to run the linter instead so it does something (e.g. catch the worst syntax errors).