Backend Api Key Authorization

tatu.lahtela
tatu.lahtela Spryker Solution Partner Posts: 3 🧑🏻‍🚀 - Cadet

Hi,

I'm trying to figure out how api key authorization works. I'm trying to follow this doc https://docs.spryker.com/docs/scos/dev/glue-api-guides/202307.0/use-api-key-authorization.html#how-authentication-works

But looks like the the instructions are quite inadequate. The example in the doc doesn't even compile, there is no setController method in Ruoute and RouteCollection add api is not correctly used. Is there a fully functional example somewhere where the Glue backend api utilizes api keys to a custom api endpoint?

Answers