This repo contains example code for third party backends to authenticate against.
The guide for authenticating against third party backends can be found here.
You can find the frontend example of making authenticated requests to these backends in the next-auth
example app.