Get current logged in admin user

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

1 Like