0

I am trying to setup oAuth between salesforce and Workday. I created a Auth provider and a named credential as shown in the screenshots. Named credential] Auth Provider

  • I checked 'Start Authentication Flow on Save' while saving the named credential.

  • On save, I was redirected to Workday page for authentication.

  • On entering my workday username and password, I could login successfully to workday. I was not redirected back to salesforce. Should I be?

  • But the Named credential still shows a authentication status of 'Pending'.

Any help will be very much appreciated.

Thanks in advance

1
  • please check once Authorize Endpoint URL And Token Endpoint URL If it is the case, you need to verify that the Token Endpoint URL is 100% exact (it will not work with the smallest typo).
    – Vivek
    Jun 23 at 6:48

2 Answers 2

0

Click on Edit and you will see a checkbox mark as true and it will redirect you the login page. enter and then you are good to go.

enter image description here

3
  • I already did that. I checked 'Start Authentication Flow on Save' while saving the named credential. On save, I was redirected to Workday page for authentication. On entering my workday username and password, I could login successfully to workday. But the Named credential still shows a authentication status of 'Pending'. Dec 17, 2020 at 15:02
  • Are you sure the callback URL is correct? Dec 17, 2020 at 16:21
  • The callback url is autogenerated on saving the auth provider. Dec 17, 2020 at 17:59
0

Updating workday app with the salesforce auth provider callback url resolved the issue

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .