samples
samples copied to clipboard
Custom policy for email verification through sendgrid doesnt seem to work
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.
Try use "SendGrid >> Sender Authentication >> Verified Domain" to replace "[email protected]" in the policy file.
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?