Skip to content

When the authorization flow is change to auth_code the bearer token is not generated in the api test console. #2747

Open
@ygrik

Description

Bug description

When the authorization flow is change to auth_code the bearer token is not generated in the api test console.

Reproduction steps

  1. Go to 'Operation details'
  2. Click on 'Try it'
  3. Switch Authorization server: from 'none' to 'authorization_code'
  4. Check Ocp-Apim-Subscription is empty

Expected behavior

Ocp-Apim-Subscription is filled with token

A clear and concise description of what you expected to happen.

Is self-hosted portal?

Yes

Release tag or commit SHA (if using self-hosted version)

release 2.30

API Management service name

self-hosted1

Additional context

For request
GET https://self-hosted1.developer.azure-api.net/developer/users/1/apis/echo-api?expandApiVersionSet=true&api-version=2022-04-01-preview

Response authenticationSettings does not contains "clientId" (required for auth service)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions