Azure / Azure/api-management-developer-portal

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

Open
#2,747 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
545
Forks
360
PR merge metrics
No merged PRs in 30d

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.