Hono Oauth Provider with JWT issue
Hey everyone! I'm not sure if this is the right place for me to post about this but recently I wanted to try to use Hono and also saw there was a package for it
Now I noticed that in my main login.ts route where I use
This is my
and this is my
and my vscode shows an error on the 3 const in google.ts:
I'm not really sure why exactly this is happening and how to resolve it but I did notice that it comes from the
not sure if this is a bug that I should report or why this is happening/how to resolve it, I'd appreciate any help on this! ^^
@hoino/oauth-providers which I also wanted to try. Now I noticed that in my main login.ts route where I use
hono/jwt package then I'm getting errors inside my google.ts file where I use the googleAuth from @hono/oauth-providers/google. Currently I'm still using the basic stuff to figure out how things work and how I can use it so don't mind that.This is my
/routes/auth/login.ts fileand this is my
/routes/auth/google.ts fileand my vscode shows an error on the 3 const in google.ts:
I'm not really sure why exactly this is happening and how to resolve it but I did notice that it comes from the
hono/jwt usage which has the following in it's index.d.ts which is also weird cause the oauth-provider package has something similar too:not sure if this is a bug that I should report or why this is happening/how to resolve it, I'd appreciate any help on this! ^^
