The JWT issued by Okta has a claim named “scp”, an array of strings, which is used for scopes [1]. But according to the RFC [2], the claim should be named as “scope”, a JSON string containing a space-separated list of scopes. Please clarify if I have misunderstood. Any help or suggestion would be highly appreciated.
[1] https://developer.okta.com/docs/reference/api/oidc/#access-token-scopes-and-claims
[2] https://tools.ietf.org/html/rfc8693#section-4.2