Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
junoriosity opened this issue Aug 20, 2022 · 0 comments
Open

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

junoriosity opened this issue Aug 20, 2022 · 0 comments

Comments

@junoriosity
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant