To promote the practice of providing an easy way for users to delete their accounts, which all sites should provide, NextAuth should provide a POST endpoint to allow users to delete their account.
Note: The example project currently includes a remove(id) method, but next-auth does not currently add a route that can be called to invoke it (e.g. /auth/delete).
To promote the practice of providing an easy way for users to delete their accounts, which all sites should provide, NextAuth should provide a POST endpoint to allow users to delete their account.
Note: The example project currently includes a
remove(id)method, but next-auth does not currently add a route that can be called to invoke it (e.g./auth/delete).