Add audience and resource field for OAuth2 Authorization Code grant (#1768)

* add audience to grant authorization code

* add resource to grant authorization code

* fixed audience and resource for code grant
This commit is contained in:
Internal Server Error - Gitea: Git with a cup of tea
500 Internal Server Error

Gitea Version: 1.28.0+dev-477-g8b6ad49a5f