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

Authorization button #3

Open
ianrapha opened this issue Dec 8, 2016 · 3 comments
Open

Authorization button #3

ianrapha opened this issue Dec 8, 2016 · 3 comments

Comments

@ianrapha
Copy link

ianrapha commented Dec 8, 2016

Hi @astaxie

The authorization button is not present in the screen. Is there any special config on Beego to enable it?
The button exists in http://petstore.swagger.io/

Thanks for the attention and for the awesome job.

@astaxie
Copy link
Member

astaxie commented Dec 16, 2016

@ianrapha yea, beego doesn't implement the auth now.

petstore has these definition.

"securityDefinitions": {
  "petstore_auth": {
    "type": "oauth2",
    "authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
    "flow": "implicit",
    "scopes": {
      "write:pets": "modify pets in your account",
      "read:pets": "read your pets"
    }
  },
  "api_key": {
    "type": "apiKey",
    "name": "api_key",
    "in": "header"
  }
},

@franzwilhelm
Copy link

@astaxie @ianrapha Full support for this now if this PR goes through: beego/bee#436
Feel free to use the code if it doesn't get merged.

@daoleno
Copy link

daoleno commented May 20, 2018

Is there any plan to support this?

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

4 participants