Preserve ErrorDescription in Auth. Provider callback - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
270  Points
Open
Idea has been posted. Give it an upvote or downvote.

Preserve ErrorDescription in Auth. Provider callback

Authorization & Permissions

Hi, 

I had a discussion with SF Support agent, after which he suggested that I should create this idea. 

Issue is that after Auth Provider resturns error to SF callback URL, ErrorCode and ErrorDescription are masked. It is because salesforce has it's own set of errors. I understand that, but it would be nice to get original error description into error handler. For example as another param like ExternalErrorDescription or something.
Without this information we are unable to handle these errors properly. For example there is a different errorDescription returned from Auth provider when users clicks on cancel button or on forgotten password. But when it hits error handler URL for that auth provider, ErrorDescription and ErrorCode have the same values for both actions.

I've created Question in salesforce stackexchange: https://salesforce.stackexchange.com/questions/337584/auth-provider-callback-masking-errordescription

Merge Idea · Flag

  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Questions

No results found.

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.