28 apr

OAuth2


E-invoicing in Germany: How to implement the obligation with SAP Business One

OAuth 2.0 is an open standard for delegated authorisation on the web: an application gets access to resources from another service on behalf of a user, without the user having to pass their password on to the application. Instead, a Authorization Server a short-lived Access Token from, that the application in the HTTP header (Authorization: Bearer …) sends to the target resource.

Context

OAuth 2.0 has several flows intended for different client types: Authorisation Code with PKCE for web and mobile apps, clients Credentials for server-to-server communication, Device Code for devices without a browser. In addition to the access token, often a Refresh Token, with which expired access tokens are renewed without new user interaction. Access tokens carry Scopes, which define which actions are permitted – for example, read-only or only for specific endpoints. In the SAP Business One environment, OAuth is typically used where external systems are integrated: HubSpot, Snitcher, Microsoft 365, Peppol access points, mail and document services. The SAP B1 Service Layer primarily uses session authentication; OAuth-based wrapper APIs can be placed in front of the Service Layer to securely publish B1 data externally.

Demarcation

OAuth 2.0 is authorisation, not authentication — for user identity, the extension is needed OpenID Connect. It also does not replace encryption: HTTPS is a prerequisite, otherwise tokens are interceptable. Compared to API keys, OAuth is more flexible (scopeable, revocable, short-lived), but more complex to set up. And compared to SAML, OAuth appears leaner and more API-friendly, but it brings fewer „out-of-the-box" structures for classic enterprise SSO scenarios.


AI in the company

Why companies are hesitant about AI in ERP

Artificial intelligence in the ERP context raises high expectations, as significant productivity gains, far-reaching automation and more informed decisions are on the cards. Nevertheless ...
Predictive maintenance

Predictive maintenance: how to turn SMEs into smart factories

In today's intelligent world, the ability to solve problems before they even arise is no longer a futuristic scenario, but ...
RPA

RPA in the ERP environment: increasing efficiency through digital process assistants

Many ERP systems run processes on a daily basis that are necessary but do not add value. Employees spend valuable time processing orders ...
Generative AI in ERP

Generative AI in ERP: How LLMs are changing the role of ERP systems

With the advent of generative AI and large language models (LLMs), the role of ERP systems is changing fundamentally. Instead of ...
ERP FUTURE

Preparing the ERP future with APIs and microservices

Many medium-sized companies are still working with ERP monoliths that have grown over the years. The modules of these systems are closely ...
DATA-QUALITY

Data quality & AI : AI can only be as good as your data

Companies today are investing heavily in AI technologies, intelligent automation and modern ERP architectures. Despite this, many modernisation projects fail in the early stages because ...
Wird geladen …