OAuth authentication configuration with database (Postgres)

Hi All,

referring to below links,

Yaml file -
apiVersion: configuration.konghq.com/v1
kind: KongClusterPlugin
metadata:
name: oauth2-global
annotations:
kubernetes.io/ingress.class: kong
labels:
global: “true”
config:
scopes:

  • email
  • phone
  • address
    mandatory_scope: true
    enable_authorization_code: true
    plugin: oauth2

is the yaml file content is correct ? if it is not making entry in postgres (internal DB) or not showing under plugins - http://:8001/plugins/
All suggestions are welcome !!

You’ll want to use ``` around your YAML block to use code formatting. It’s possible there’s an indentation error in it but the forum software will use its own formatting without the code block and make it impossible to tell.

That said, as a general rule, if configuration isn’t getting to Kong, you’ll want to check the controller container logs, as they’ll indicate if there’s some reason that Kong is rejecting that configuration.

This is resolved . I could see Ingress controller POD is restarting due http2 protocol and time being disabled