Skip to content

issue: Missing scopes map in app2AppOauth OAuth flow example #134

@konradodwrot

Description

@konradodwrot

In components.securitySchemes the app2AppOauth:clientCredentials flow doesn’t include a scopes object.

https://learn.openapis.org/specification/security.html#oauth-20

components:
  securitySchemes:
    app2AppOauth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://learn.openapis.org/oauth/2.0/token
            # Only reading the board allow with delegated access
            # <----    scopes: should be here
            board:read: Read the board
    user2AppOauth:
        authorizationCode:
          authorizationUrl: https://learn.openapis.org/oauth/2.0/auth
          tokenUrl: https://learn.openapis.org/oauth/2.0/token
          scopes:
            # Reads and writes permitted via authorization code flow
            board:read: Read the board
            board:write: Write to the board

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions