I am developing an Angular application, which uses AWS lambda as the backend from which it fetches data.
I need to use SAML for user authentication. Only authenticated users should be able to invoke lambda functions through AWS API Gateway.
I understand that in SAML, the service provider should redirect requests without a security context to the IDP, and only allow requests with a valid security context. But I cannot understand how I can achieve this with AWS lambda.
Can anyone give some guidance on how I can achieve this?