I am using Azure functions
as backend. I want to authenticate every request that whether it is having JWT token or not.
I tried to implementing it by using AddAuthentication()
. but It doesn't seem to work in azure functions.
I tried this link this as well Validate AWS cognito in .net core api
After implementing the above link I got an error
no authentication handler is registered for the scheme 'bearer' in azure functions
Please help me.
Thanks in advance!!