When getting OAuth2 scopes from JWT bearer token, the current implementation tries to get scope from the JWT payload and the scope value is considered as type of List<String>.
The value of the scope claim is a JSON string containing a space-separated list of scopes associated with the token, in the format described in Section 3.3 of [RFC6749].
Figure 7 illustrates the scope claim within a JWT Claims Set.
When getting OAuth2 scopes from JWT bearer token, the current implementation tries to get
scope
from the JWT payload and the scope value is considered as type ofList<String>
.In accordance with Section 4.2 in RFC8693, the scope claim is defined as follows.
Due to this reason, our generated OAS3 output fails to set correct security information.