API 302 Login Redirect?

  • 1
  • Question
  • Updated 1 year ago
  • Answered
Trying to implement an automated timesheet entry from a process on our systems, but I'm having an issue with the login.

I'm passing the company key + "\\" + username and password in an Authorization: Basic header with a test query to list all users.

I'm getting 302 redirected in my API call to an html login page?  Why would the API redirect to a web page?

What's the issue?  I use the same user to login to Replicon web with no issues.
Photo of Veleba, Keith

Veleba, Keith

  • 1 Post
  • 0 Reply Likes

Posted 1 year ago

  • 1
Photo of Aashnee Kamboj

Aashnee Kamboj, Community Moderator

  • 1376 Posts
  • 97 Reply Likes
Hi Keith,

I request you to please pass the following as credentials:

Username - <companyname>\<admin username>
Password - admin password.

Please let us know in case of any further concerns and we will be glad to help you