I was trying to integrate Tyk and Azure AD to secure my API and got this in Tyk Cloud. However, now I’m trying to do the same configuration I did there in Tyk Open-Source and I don’t know what’s missing. Here’s my Tyk Cloud configuration:
- Created an API.
(images 1.png and 2.png)
- Configurated the OpenId Connect (issuer, client id and policy) in authentication section.
- Enabled CORS.
- Created a policy for the created API.
(images 5.png and 6.png)
- Defined the name and the key expiration time for the policy.
In Tyk Gateway (Open-Source), I cloned the Github project from GitHub - TykTechnologies/tyk-gateway-docker: Official docker build for Tyk. I created a keyless API and everything worked fine. Then, I tried to configure the OpenID Connect, using the configurations below:
I also added the policies to the volumes in the docker-compose.yml (I don’t know if it’s necessary) and deleted all the files I was not using, the tyk.conf is the tyk.standalone.conf from Github (everything still worked with the keyless API).
What am I missing? I need to create a key? I would appreciate if someone could help me.
All the files and images are in the following drive: tyk - Google Drive