Skip to main content
Solved

REST API long duration access

  • Aug 31, 2022 3:08 PM UTC
  • 2 replies
  • 254 views
  • Translate All

Forum|alt.badge.img+8

We have a project where the customer’s external system will be reading data from Acumatica via the REST Api regularly and often. Is there an alternative to using cookies, such as setting the connection up as a “known application” with a shared secret value?  So that their authentication comes with the request vs. having a login to get the cookie and then they have to store the cookie. 

I know that I can bump up the lifespan of a cookie, and maybe that’s my only option, but I’m curious if there is another way to grant access without the logon/logoff calls.

Best answer by Dmitrii Naumov

Yes, Acumatica supports OAuth 2.0 authorization (token based)

 

Please see here:

https://help.acumatica.com/(W(50))/Help?ScreenId=ShowWiki&pageid=a8f71c44-9f5c-4af8-9d47-bc815c8a58e7

View original

2 replies

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7
  • Community Manager
  • Answer
  • Aug 31, 2022 3:13 PM UTC

Yes, Acumatica supports OAuth 2.0 authorization (token based)

 

Please see here:

https://help.acumatica.com/(W(50))/Help?ScreenId=ShowWiki&pageid=a8f71c44-9f5c-4af8-9d47-bc815c8a58e7

Translate

Forum|alt.badge.img+3
  • Captain I
  • Jun 25, 2024 3:20 PM UTC

Dmitrii Naumov I need to put notes on every customer using API, Can we put the data using Access token or we need to login first?

 

Translate