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

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

Open
ygrik opened this issue Jan 15, 2025 · 0 comments

Comments

@ygrik
Copy link
Collaborator

ygrik commented Jan 15, 2025

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)

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

1 participant