Restrict access some Endpoints to GlueBackendAPI for certain users using OAuth

daniar.asanov
daniar.asanov Senior Developer at Turbine Kreuzberg Posts: 2 🧑🏻‍🚀 - Cadet
edited December 2024 in Spryker Dev Environment

We use GlueBackendAPI to give access for 3rd Party services to our data. They all autheticate using OAuth. OAuth has so calles scopes to restrict access to certain endpoints. This is also said in the Documentation but no examples how to do that. There is a manual of how to create a scope, but nothing about how to relate a scope to ACL or to a client/user directly.

All a user can do is enter a scope when requesting a token. But the user can then request a token to any scope or even just without any scope and have an access to all endpoints. Is there any solution how to setup this restriction?

Tagged:

Answers