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.


ReAct and RLEF

ReAct and RLEF: How Artificial Intelligence Learns from Real Mistakes — and What Automated Bank Reconciliation in SAP Business One Has to Do with It

This is the fourth instalment in a series on this blog dealing with AI fundamentals in conjunction with SAP Business One...
Service Layer AI as a transactional layer

SAP B1 10.0 FP2608: Service Layer AI as a transactional layer

The SAP Business One Service Layer has previously served predominantly as a passive data provider: applications requested data via OData, each ...
Process Reward Model

Process Reward Models: Why a correct result does not yet prove a correct method

This series continuously examines individual AI basic terms and methods such as the Process Reward Model. The previous episode has ...
Test-Time-Compute-Scaling

Test-Time Compute Scaling: Why a Smaller AI Model Can End Up Winning — and What Supplier Comparison in SAP Business One Has to Do With It

This is a continuation of the series on this blog, which deals with Artificial Intelligence in combination with SAP Business One...
RLHF

RLHF and reward models: AI hype or what the approval process in SAP Business One has to do with it

Key takeaways: The article covers the application of artificial intelligence in the context of SAP Business One and fundamental AI topics. Thanks to ...
AI Webinar

AI – Answers from SAP Business One – without SQL, without IT ticket

Live webinar on 30 July 2026, 14:00–14:30 | Live demo via Microsoft Teams | Duration: 30 minutes „How were the sales...".
Wird geladen …