Skip to content
Bug Barometer

In OAuth User Agent flow callback may be performed via a POST request if the id_token scope is requested

Salesforce says this is fixed.

Summary

In the OAuth User Agent flow (https://help.salesforce.com/articleView?id=remoteaccess_oauth_user_agent_flow.htm&type=5), if the corresponding connected app has been configured to return custom attributes, and the id_token scope is requested (as explained at https://help.salesforce.com/articleView?id=remoteaccess_using_id_token.htm&type=5), Salesforce may perform the callback via a POST request instead of a GET request based on the resulting callback URL's length (which would include the access token and id token in the URL fragment). This prevents certain SPAs (Single Page Applications) from retrieving the access token in the URL fragment.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 13 reports

    Nov 30, 2026

Also open in Uncategorized