OAuth 認可フローの承認画面にて [許可] ボタンをクリックしても URL に「error=access_denied&error_description=end-user+denied+authorization」 というエラーメッセージが記録されたページが表示されて認証が失敗します。
この問題は、ブラウザの翻訳機能によりブラウザ上の表示言語と Salesforce ユーザーの言語設定が異なる場合に発生します。
例えば、Salesforce ユーザーの言語設定が「英語」の状態で、Web ブラウザの翻訳機能を利用して承認画面の表示を英語から「日本語」に変更し、承認画面の [許可] ボタンをクリックするとエラーが発生します。
Web ブラウザの翻訳機能を無効化し、再度 OAuth 認可フローを実行してください。
005318809

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.