@hono/oauth-providers - Github provider returns user email as null #2353
Unanswered
tinypell3ts
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Hi, @tinypell3ts! That's weird. I just tested it with a new OAuth app, and I was get the user's email. Could you please send me how you set up the middleware? |
Beta Was this translation helpful? Give feedback.
3 replies
-
@monoald - I'm struggling to understand how to use the @hono/oauth-providers(Github) with my NextJS frontend. Are you able to provide some insight into how this works? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using the @hono/oauth-providers middleware to manage Github OAuth for my API. Everything is functioning correctly, except the user email is returned as
null
. I have set the permissions for my Github App correctly (as shown below). When testing this app withnext-auth
, the email is returned as expected.Does anyone have any ideas?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions