Replies: 1 comment 1 reply
-
from stac_fastapi.pgstac.app import app
@app.get("/token")
def authenticate(request: Request, ....):
... 🤷 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to add a route that will enable authorization on the API User Interface (the swagger ui). We enabled a dependency on the existing routes, but I want to add a route (the default seems to be '/token') so a user can authenticate on the UI. I'm familiar w/ FastAPI, but I can figure out how to simply add a route.
Beta Was this translation helpful? Give feedback.
All reactions