Forum Discussion

kurtkanaskie's avatar
kurtkanaskie
New Contributor
8 years ago

Did the OAuth UI component change in the latest update?

 Password flow is requiring scopes, but when I specify them, the UI does not show anything to select.

 

Here's my definition, I'm just setting User for all.

 

securityDefinitions:
  OauthSecurity:
    type: oauth2
    flow: password
    tokenUrl: 'https://myhost/oauth/v3/token'
    scopes:
      admin: Admin scope
      manager: Manager scope
      user: User scope
security:
  - OauthSecurity:
    - user

Thanks for any help,

Kurt

 

2 Replies

  • Hi Kurt!

     

    We did indeed change something in the last update, and it looks like this part is broken. Sorry about that.

    Thanks for pointing it out and we'll look into fixing it.

     

    Thanks,

    Ron

    • kurtkanaskie's avatar
      kurtkanaskie
      New Contributor

      OK thanks.

       

      Seems the Authorize dialog is also sending the params as query params and not form params.

       

      Its allowing me to send without selecting a scope, still doesn't display the scopes to choose tho.