Skip to main content
Solved

API / SSO Login


Hello, 

I have an API connection that has recently stopped working. My company has also recently rolled out SSO authentication to sysaid so I’d strongly imagine that the reason.

Do you know what changes I need to get back online with the API connection?

Keith

Best answer by Maayan Karstaedt

@kmcclung I went to our experts to see how we can help you with the new setup, so here we go: 

  1. Create dedicated user for API activity - This user can be excluded from SSO protocols and is also best practice in order to preserve organization stability when personnel changes take place over the years. 
  2. Use this url to override the SSO: [account name].sysaidit.com/Login.jsp?manual=true

Let us know how it goes!

Cheers,

View original
Did this topic help you find an answer to your question?

14 replies

Maayan Karstaedt
SysAider
Forum|alt.badge.img

Hi @kmcclung!

First great to hear you moved to SSO login definitely recommended from security perspective!

Second, regarding API issue can you share if API is completely not working or some actions work and some don’t? We are not aware that when working with SSO there is impact on API but we do have a limit on how many login request you can do within 5 minutes so maybe your API set up needs to be optimized, all the details here.

In order to set up login requests for multiple actions see here. 

Let me know what you find out!

Cheers,


  • Author
  • New SysMate
  • 3 replies
  • August 10, 2022

Hey there @Maayan Karstaedt thank you for the reply.

To break it down:

I built a Power Automate flow that utilizes several HTTP calls to log on and to gain access to the sysaid asset register. Worked perfectly 😀.

 

Since my colleagues added SSO authentication I have attempted to run the flow again and cannot login using my credentials. My password has not changed, but for completeness I attempted to use different user accounts, all failed to log on.

Would I be right in thinking that now the business uses SSO, removing passwords from the sysaid end, the practice of using usernames and passwords for API access will not function?

 


  • Author
  • New SysMate
  • 3 replies
  • August 10, 2022

Hey @Maayan Karstaedt - following on from this, looking closer at your handy links I’ve answered my own question.

It confirms that I cannot use this API with Oauth / SSO (pictured below). Is there any method at all that would enable me to use Oauth / SSO and the API together? I can’t seem to find anything in the document. 😥

 

 

 


  • New SysMate
  • 3 replies
  • August 18, 2022

Hi,

I reviewed the documentation of your API portal but it does NOT detail how to use cookies, please we need you to send us the detailed steps of using cookie


Maayan Karstaedt
SysAider
Forum|alt.badge.img

Hi @jmoney !

Once you create a sucesful login the cookie should be generated automatically, we created and example of how it would look here: 

Let us know how it goes!


  • New SysMate
  • 3 replies
  • August 26, 2022

Hi,

Thank you for the example the cookie, an additional question what is the maximum time can I use the cookie, by example [Today] + 2h


Maayan Karstaedt
SysAider
Forum|alt.badge.img

  • New SysMate
  • 3 replies
  • August 28, 2022

@Maayan Karstaedt I checked the information but it does not have the details of how often I should renew the “cookie”, assuming that I did not exceed the API limits

Please tell me


Maayan Karstaedt
SysAider
Forum|alt.badge.img

@kmcclung I went to our experts to see how we can help you with the new setup, so here we go: 

  1. Create dedicated user for API activity - This user can be excluded from SSO protocols and is also best practice in order to preserve organization stability when personnel changes take place over the years. 
  2. Use this url to override the SSO: [account name].sysaidit.com/Login.jsp?manual=true

Let us know how it goes!

Cheers,


  • Author
  • New SysMate
  • 3 replies
  • September 8, 2022

@Maayan Karstaedt  That worked first time, brilliant news, thank you. 😀


  • 1 reply
  • September 21, 2022

Will this work for on-premise servers?  Im also having an issue with the login and SSO. When I try login.jsp?manual=true i get a 404 page not found.

Im using NodeRed to process the login and processing the queries to build an automated dashboard.  I just keep failing at the login.


Forum|alt.badge.img
  • Community Enthusiast
  • 9 replies
  • January 18, 2023
kmcclung wrote:

Hey there @Maayan Karstaedt thank you for the reply.

To break it down:

I built a Power Automate flow that utilizes several HTTP calls to log on and to gain access to the sysaid asset register. Worked perfectly 😀.

 

Since my colleagues added SSO authentication I have attempted to run the flow again and cannot login using my credentials. My password has not changed, but for completeness I attempted to use different user accounts, all failed to log on.

Would I be right in thinking that now the business uses SSO, removing passwords from the sysaid end, the practice of using usernames and passwords for API access will not function?

 

Please share your Power Automate flow code that utilizes several HTTP calls to log on and to gain access to the sysaid. I am trying to achieve the same but no success. Thanks.


Forum|alt.badge.img
  • Community Enthusiast
  • 9 replies
  • January 18, 2023
Maayan Karstaedt wrote:

@kmcclung I went to our experts to see how we can help you with the new setup, so here we go: 

  1. Create dedicated user for API activity - This user can be excluded from SSO protocols and is also best practice in order to preserve organization stability when personnel changes take place over the years. 
  2. Use this url to override the SSO: [account name].sysaidit.com/Login.jsp?manual=true

Let us know how it goes!

Cheers,

URL below does not work:

  1. Use this url to override the SSO: [account name].sysaidit.com/Login.jsp?manual=true

It just returns html of the login page without logging in. This is frustrating...


  • Community Enthusiast
  • 10 replies
  • November 29, 2023
abhatia wrote:

URL below does not work:

  1. Use this url to override the SSO: [account name].sysaidit.com/Login.jsp?manual=true

It just returns html of the login page without logging in. This is frustrating...

 

You don’t want to use that link for API calls, the API uses the address: https://[orgID].sysaidit.com/api/v1/login

 

You’re only using the manual login in order to verify that you can log in with the credentials. The easiest thing to do is just go into SysAid with a System Admin user, go to “Tools” and then “Administrators” and add a new admin there. I gave mine the username “Api.User” 

 

This user should then be able to login with routines similar to what’s found here: 

 


Reply


Want Some cookies?

No, literally. We have some. 😉 By continuing browsing on our site you agree to our cookie policy.

 
Cookie settings