SAP Spartacus和传统的Accelerator超时机制(timeout)的区别

简介: SAP Spartacus和传统的Accelerator超时机制(timeout)的区别

Spartacus works differently than Accelerator. In the Accelerator, the session expires after a determined idle time. The counter is reset each time the user triggers a request. In Spartacus, the “access_token” has a fixed time to live which does not depend on the user being active or not. This is why you use a “refresh_token” to seamlessly get a new access token when the user’s current “access_token” expires. In the System/OAuth tab in Backoffice, you can manage OAuth clients and access tokens.


I recommend you use a “refresh_token” which Spartacus will automatically use to request a new access token once the current one expires. You can read more about the session management in Spartacus here.


You can read this page on how to setup handle refreshing an expired token here and here.


If the Spartacus state has a refresh token, the Spartacus will send it to renew the access token.


相关文章
|
7月前
|
缓存 负载均衡 前端开发
SAP Spartacus 和 Sticky session 相关的话题
SAP Spartacus 和 Sticky session 相关的话题
39 0
|
2月前
|
数据库 开发者 容器
SAP OData metadata.xml 里 EntityType,EntitySet 和 EntityContainer 三个概念之间的区别和联系
SAP OData metadata.xml 里 EntityType,EntitySet 和 EntityContainer 三个概念之间的区别和联系
26 0
|
7月前
|
SQL 数据库 数据安全/隐私保护
SAP CDS view 定义的数据库视图和传统 SQL 语句定义视图的区别
SAP CDS view 定义的数据库视图和传统 SQL 语句定义视图的区别
75 0
|
4月前
|
JSON 开发者 数据格式
关于 SAP Spartacus LandingPage2Template 区域的 layout 设计实现
关于 SAP Spartacus LandingPage2Template 区域的 layout 设计实现
26 0
|
4月前
|
搜索推荐 开发者 UED
关于 SAP Spartacus 层的 UI 设计
关于 SAP Spartacus 层的 UI 设计
42 0
|
4月前
|
开发者 UED
SAP Spartacus BREAKPOINT 枚举类型在 Spartacus layout 实现中的作用
SAP Spartacus BREAKPOINT 枚举类型在 Spartacus layout 实现中的作用
25 0
|
7月前
|
开发框架 前端开发 API
SAP UI5 里 Namespace,Class 和 Enum 的区别
SAP UI5 里 Namespace,Class 和 Enum 的区别
36 0
|
7月前
|
数据库
ABAP 系统里 SAP Locks 和 Database Locks 的区别
ABAP 系统里 SAP Locks 和 Database Locks 的区别
55 0
|
7月前
|
SQL
SAP CDS view 里 Inner Join,Left Outer Join 和 Right Outer Join 的区别
SAP CDS view 里 Inner Join,Left Outer Join 和 Right Outer Join 的区别
54 0
|
7月前
|
SQL 存储 数据库
SAP CDS View 和 SAP HANA View 的区别
SAP CDS View 和 SAP HANA View 的区别
41 0