function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonathan Wolff 7Jonathan Wolff 7 

"OAuth2 login failed. Reason: invalid_credentials" - Error for CORS test

Hello, I want to make preperations for the upcoming CORS update. I wanted to log into the Event Log File Browser(https://salesforce-elf.herokuapp.com/ (https://salesforce-elf.herokuapp.com/" style="color:#0563c1; text-decoration:underline)) . 

I tried to log in with production but I do get this error:

User-added imageCould you tell me how to fix this?

Sincerly,
Jonathan
VinayVinay (Salesforce Developers) 
Hi Jonathan,

Kindly recheck login credentials and if you still see the issue kindly follow below steps.

> See the Login history where your login failed. (Take the IP from where the ELF Browser login was requested from) add it in the profiles login ip ranges.
> Remove all the login ip range restriction Invalid_grant : invalid Ip seems bit fair error message (Just like how Workbench throws it)

Please close the thread by selected as Best Answer if above information was helpful.

Thanks,