Skip to main content

Hi,

 

I have attempted to use headless identity APIs as per https://help.salesforce.com/s/articleView?id=sf.remoteaccess_authcodecreds_singlepageapp.htm&type=5

 

I have created the Connected app and checked the Enable Client Credentials Flow as well as assigned the Run As API Only user.

 

When I call my site authroize endpoint (.....abcde.sandbox.my.site.com/services/oauth2/authorize) = I get the following:

 

Invalid URL

The requested URL "[no URL]", is invalid.

Reference #9.88d11102.1684329647.8976a77f

 

Any idea why my Authroize endpoint is returning 400 Bad Request?

 

My callback URL for the connected app and my redirectURI in the callout is - ....abcde.sandbox.my.site.com/services/apexrest/code/extraction - as per the example.

 

@* Salesforce Developers *

#Headless Identity 

2 answers
  1. Jonathan Fox (Cooper Parry) Forum Ambassador
    May 18, 2023, 8:12 AM

    It appeared that going to sleep and doing nothing fixed it. I suspect one of the settings in this org took some considerable time to propagate through the Salesforce servers.

0/9000