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

Add Oauth2 authentication support #215

Open
jcolladosp opened this issue Sep 8, 2022 · 2 comments
Open

Add Oauth2 authentication support #215

jcolladosp opened this issue Sep 8, 2022 · 2 comments

Comments

@jcolladosp
Copy link

Hi,
I'm using oauth2 authentication flow in my OpenApi spec:

"securitySchemes" : {
      "BearerToken" : {
        "flows" : {
          "implicit" : {
            "authorizationUrl" : "XXXX",
            "scopes" : {
              "openid" : "XXX"
            }
          }
        },
        "type" : "oauth2",
        "x-client-id" : "XXX"
      },

Is it possible to make it compatible with docusuarus-openapi?
Right now I see this when I try to log in:
image
There's no way to log in and get the token.
You can check Rapidoc which is a similar project and it's compatible with that.

Thanks

@pogzyb
Copy link

pogzyb commented Apr 16, 2023

Like the author, I'm wondering if there is any chance that OAuth2 support, specifically the client_credentials flow will be added in the near future? I saw a reference to it in #54

Thanks in advance - this is an amazing project!

@bourdakos1
Copy link
Member

I’m open to pull requests, but I don’t have much time to work on the feature myself

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

3 participants