ctx.state.user gives you the current auth user no matter the type
You can also use
ctx.state.auth.strategy to get more specific information like the name what is the verification strategy used
ctx.state.user gives you the current auth user no matter the type
You can also use
ctx.state.auth.strategy to get more specific information like the name what is the verification strategy used