Hi ya'll
I'm wondering if i can create a custom login form for swagger to protect certain APIs
i'd like it to be username + password
but unlike basic auth, I want to shoot a request to a local (same server) route, and use the returned access-token as Bearer
best idea i saw online was to just create a basic auth and a middleware to grab it, but that's real dirty in comparison to the other proper authentication methods i already have implemented.
will appreciate any good ideas.
thanks