spring-boot-react-oauth2-social-login-demo
spring-boot-react-oauth2-social-login-demo copied to clipboard
Unable to login via github it says email not found
Question 1) Login via google works but when tying to login via github it throws error - email not found from oauth2 provider. Question 2) I dont want to use the react-social app but instead want to use the existing spring-boot code for viewing the response too- could you please explain the code- flow. ( I am not well versed with react ).
Hi @nanolearningmodules ,
As I tested the app, there is no any specific kind of authentication. Backend side just gets any email and register. How do u try to login via github? And about question-2, you can use and test it locally via H2 database easily.
For Q1) the following solution worked for me. Lets try once https://stackoverflow.com/questions/35373995/github-user-email-is-null-despite-useremail-scope