wso2 / wso2/docs-apim

Config about allowed_scopes is wrong

Open
#7,406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
99
Forks
708
Avg merge
1d 7h
Merged PRs (30d)
22

Description

Description:

on page
https://apim.docs.wso2.com/en/latest/design/api-security/oauth2/oauth2-scopes/scope-whitelisting/
scope gonfig is listed as


[oauth]
allowed_scopes = ["^device_.*", "openid", "some_random_scope"]

it crashes the apim ...
I should be like

[apim.oauth]
allowed_scopes = ["^device_.*", "openid", "some_random_scope"]

Suggested Labels:

Suggested Assignees:

Affected Product Version:
4.2
OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the OAuth2 scope whitelisting page at the URL in the issue and compare its allowed_scopes example with the reported APIM configuration. Update the example so the documented section is correct, then verify the page no longer shows the configuration that causes APIM to crash.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.