Appendix A: Creating a GitHub OAuth App
Explore the process of creating a GitHub OAuth App to enable secure authentication in your Next.js application. Learn how to register the app, generate Client ID and Secret, and properly configure your project environment variables to integrate GitHub login functionality.
To run the authentication examples in this course, you must first register your application with GitHub. This is a standard, secure process that will give you a unique Client ID and Client Secret, which are like the username and password for your application.
Step 1: Get your application’s public URL
The Educative terminal widget provides a unique, publicly accessible URL for your running application. To find it, run the following command in the terminal:
Copy the URL that is printed. It will look something like this: https://xyz-123-educative.run. You will need this for the next step. ...