Issues getting access token in stateless mode v1.4.0
I am trying to get the users access token on the server using the command below like it says in the docs, I am currently using stateless mode with a cognito social provider. I am using Next.js v15.5.6 and I have tried using both the bearer plugin and the nextCookies plugin.
My flow is
home page -> which redirects me to the home page -> then i go to my (authenticated) routes which has the get access token in the
is this not possible in stateless mode. Thank you for any help
https://www.better-auth.com/docs/concepts/oauth#get-access-token
My flow is
home page -> which redirects me to the home page -> then i go to my (authenticated) routes which has the get access token in the
layout and i get an account not found error. is this not possible in stateless mode. Thank you for any help
https://www.better-auth.com/docs/concepts/oauth#get-access-token