I need to protect an API route with bearer token but the client can't send me token in Authorization header. I want to create a url like http://localhost/file?token=. I can't find a way to validate token in Adonis4, "auth.check()" check in header.
Any way to solve this?