Focal Point
[closed]REST logon script throws Invalid username error

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4397067786

September 15, 2017, 03:27 PM
WFDevConsultant
[closed]REST logon script throws Invalid username error
We are using Custom Scheduler to create the Reportcaster schedule and it worked well with WF8105 but when we move the same code to WF8201, it throws "Invalid username and password" error on Logon script.

What are we missing here?

The userid and password we are using is letting us to get in to WF Client, Server, and also able to create the Reportcaster schedule.

This message has been edited. Last edited by: WFDevConsultant,


8.2.06
Windows, All Formats
September 17, 2017, 06:51 AM
Efrem
Between 8105 and 8201, there been no change as far as sending credentials for the signOn action.
But, there has been a change as far as the CSRF (Cross-Site Request Forgery) Token being returned in the response of the signOn action.
This needs to be sent as one of the parameters of subsequent requests.
eg.
IBIWF_SES_AUTH_TOKEN=wwefojeweofjpppj

But, if you were not sending the CSRF token, you would receive a 403- Forbidden error.

Not invalid credentials.

Efrem
September 17, 2017, 04:57 PM
WFDevConsultant
Where can I find the log to identify the real problem?

Is there any other configuration we need to check?


8.2.06
Windows, All Formats
September 18, 2017, 10:57 AM
WFDevConsultant
When I check the audit.log, it shows the following error.

ERROR 5003 - Bad Userid

I checked my id on Security Center, Server admin config file and it is having Administrator access in all the places.

Am I missing something?


8.2.06
Windows, All Formats
September 18, 2017, 02:57 PM
WFDevConsultant
The issue was with userid which I used to configure the REST webservice is not on the admin.cfg file. Once I corrected it, everything works well.

Thanks


8.2.06
Windows, All Formats