samples icon indicating copy to clipboard operation
samples copied to clipboard

Custom policy for email verification through sendgrid doesnt seem to work

Open ManishKiranagi opened this issue 3 years ago • 2 comments

I have tried the sample mentioned here samples/policies/custom-email-verifcation-displaycontrol/policy/SendGrid/

I keep getting the message - Basic credentials specified for 'SendOtp' are invalid. Check that the credentials are correct and that access has been granted by the resource.

The sendOtp profile in the sample uses Bearer authentication - but mesage says 'basic credentials'. Moreover the sendgrid API key that I pass to the sendOtp BearerAuthenticationToken works fine when I use it with Postman to send email.

ManishKiranagi avatar Mar 16 '21 10:03 ManishKiranagi

Try use "SendGrid >> Sender Authentication >> Verified Domain" to replace "[email protected]" in the policy file. image

chenyu5466 avatar Apr 12 '21 06:04 chenyu5466

I ran into this same issue and I had already updated this value to be a verified domain through send grid. Any other fixes to resolve this issue?

alekfestekjian avatar Aug 24 '21 14:08 alekfestekjian