App-System: Add storefront javascript service / custom storefront endpoint service to allow authenticated request to app-server
What do we need?
App-System: Add storefront javascript service / custom storefront endpoint service to allow authenticated request to app-server
- Authentificated call to app-server from frontend (custom storefront endpoint or storefront javascript)
Why do we need this?
We want to do some tasks via http request, that are not possible via the app system. If we do this now, we cannot check if the request is a valid request from an booked app or some customer without the app licensed. So therefore we need a javascript service or a service for custom storefront endpoints to do requests.
Current context why we need this?
- Vat id validation plugin
- Sending emails from app system
You can now use the AppClient to perform authenticated requests to your app-server. Please see the corresponding documentation and decision log: