! blurskye π΅πΈπ
BABetter Auth
β’Created by Cross on 4/26/2025 in #help
Privilege elevation?
yes i suppose you can make a custom plugin for that
9 replies
BABetter Auth
β’Created by Cross on 4/26/2025 in #help
Privilege elevation?
i think that is the only way
9 replies
BABetter Auth
β’Created by Cross on 4/26/2025 in #help
Privilege elevation?
grant user admin, revoke after the intended purpose is served
9 replies
basicAuth context?
To address the issue where the context
c
is of type any
instead of the expected type with Bindings
, you need to ensure that the context type is correctly inferred. This can be done by explicitly typing the context parameter in the verifyUser
function.
Explanation:
- Explicitly type the context parameter c
in the verifyUser
function as Hono.Context<{ Bindings: Env }>
to ensure that TypeScript correctly infers the type and provides autocompletion for c.env.PASS
.3 replies