What is the format of Oauth2 accessToken

OAuth 2.0 tokens are quite different from JWT tokens. If you are using Open ID Connect the tokens generated by the OAuth grants can be in JWT format.

API Gateway cannot act as Open ID Connected provider.