Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom policy for email verification through sendgrid doesnt seem to work #195

Open
ManishKiranagi opened this issue Mar 16, 2021 · 2 comments

Comments

@ManishKiranagi
Copy link

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 ManishKiranagi changed the title Custom policy for email verification doesnt seem to work Custom policy for email verification through sendgrid doesnt seem to work Mar 16, 2021
@chenyu5466
Copy link

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

@alekfestekjian
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants