Next-Auth v4 Google Provider Migration
Previously in v3 we would provide scope and authorizationUrl changes like this.
Now with V4 we would do something like this.
The changes can be seen in two primary areas.
- The import for the provider changes from next-auth/providers to next-auth/providers/google.
- We stop using authorizationUrl and instead modify things directly on the params value of authorization.