Search code examples
oauthoauth-2.0jwtopenidgithub-api

how register Github application for JWT login


Hi I want to implement the "Web application" oauth2 Flow, and I need o test locally my login service implementing the social login on Github.

I went on the github page https://github.com/settings/applications/new

in order to create the application which must be registered.

My doubt now is:

How can I set a callback url and home page of my app if I want to test locally and I don't have a public address exposed on the internet?


Solution

  • The home page is not used in oAuth flow, it's for informational purposes.

    The callback URL can use localhost