Hi, I am having difficulty importing an API using the OAuth 2.0 authentication mode to the Enterprise Portal.
I have configured two policies, one which enforces only access rights (product) and another which implements only rate limit and quota, but does not enforce access rights (plan).
apiVersion: tyk.tyk.io/v1alpha1
kind: SecurityPolicy
metadata:
name: api-product-policy
namespace: tyk
spec:
access_rights_array:
- name: example-api
namespace: tyk
versions:
- Default
active: true
name: api-product-policy
state: active
partitions:
quota: false
rate_limit: false
acl: true
---
apiVersion: tyk.tyk.io/v1alpha1
kind: SecurityPolicy
metadata:
name: api-plan-policy
namespace: tyk
spec:
access_rights_array:
- name: example-api
namespace: tyk
versions:
- Default
active: true
name: api-plan-policy
state: active
partitions:
quota: true
rate_limit: true
acl: false
quota_max: 10
quota_renewal_rate: 60
rate: 5
per: 5
throttle_interval: 2
throttle_retry_limit: 2
When I synchronize the provider in the Enterprise Developer Portal Admin App, only the plan is imported. When using standard auth instead of OAuth 2.0, the product is imported successfully.
Is OAuth 2.0 not supported by the Enterprise Developer Portal?