Skip to content

Simple Auth0 authentication when using the doc or redoc page #75

Description

@junoriosity

When I use your Python package, things work really well, so many thanks for it. 😀

However, there is one thing, where I ask myself, whether I can do much better here. When I try to reach my doc page, it looks like this:

fastapi_doc

When I click on the locking the top right, it looks like this

fastapi_auth

And after I enter the right token_id, I can work with the doc page as intended.

However, getting the token_id is quite cumbersome, as it usually involves curl requests etc.

It would be much nicer, if I am automatically logged in from Auth0, if I authenticated somewhere else in my browser. If I did not authenticate somewhere, then this here pops up

auth0-login

and after authenticating, I can work as intended. Is that possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions