setup middleware on backend with oidc
I have three services:
1. expo app (client)
2. hono + better auth (oidc provider)
3. hono app (server)
I have done auth in expo with
expo-auth-session
The issue I am facing right now i how i add the middleware in the hono app?
my current hono middleware:
I dont want to do a fetch everytime.. plus i tried using the auth.api.getSession() but seems like getsession doesnt works with session created via the oidc provider0 Replies