Closed gwyneplaine closed 2 years ago
Supporting next-auth will provide support for a lot of Auth Providers in one go
The example has to be Social Login (for front end) and also to secure APIs (on the backend)
It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :)
Closing issue as its no longer in line with our present plans around examples
@gwyneplaine - I really think KeystoneJS should prioritize next-auth integration - both in the adminUI as well as a pure backend NextJS embedded scenario. This feature goes way beyond mere examples; Oauth/Passwordless is a central AuthN tenet in modern apps, that you get served on a platter with next-auth.
+1
In case anyone missed it, there is now a next-auth
example using the GitHub provider. It should be fairly trivial to adapt that code for other ID providers.
We want to have an example project which demonstrates Keystone integration with Github SSO This needs to demonstrate how to write a custom mutation which can take an OAuth token from GitHub and use their APIs to associate with a user in keystone and start a session for that user.
Refer to
keystone-next-lite
implementation.