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.
相关文章
- SAP UI5 Form 表单 Column Layout 下的 Column 个数分配问题
- SAP Commerce Cloud OCC API UnknownResourceError 错误
- SAP UI5 sap.ui.layout.Grid 控件宽度百分比的设置原理
- SAP ABAP OData 服务里 EntityType 和 EntitySet 的区别试读版
- 把 ALV 转换成 PDF 格式并发送到 SAP Inbox(此段代码未经笔者验证)
- 使用 SAP UI5 sap.ui.export.Spreadsheet API 进行 Excel 导出的一些限制
- SAP UI5 sap.ui.Device.media.initRangeSet 方法的单步调试
- SAP Java Connector 错误 - JCO_ERROR_COMMUNICATION
- SAP ABAP 方法调用里传值(Pass Value)和传引用(Pass Reference)的区别试读版
- SAP ABAP CDS view 里 INNER JOIN 和 Association 的区别
- ORA-06809: TLI Driver: could not clear the IPX ethernet SAP at init ORACLE 报错 故障修复 远程处理
- SAP SPAD创建纸张详解编程语言
- SAP 创建 Web Services详解编程语言
- SAP GUI 保存密码详解编程语言
- SAP 应用服务负载均衡的实现详解编程语言
- SAP学习日志–RFC REMOTE FUNCTION CALL详解编程语言
- SAP跳过权限检查/前提是有debug权限详解编程语言
- SAP Smartform中table和template的区别详解编程语言
- SAP中的密码输入框详解编程语言
- SAP移动类型详细说明详解编程语言
- SAP ABAP收货或者货物移动(MIGO,MB11,MB1A)在保存时候的增强点详解编程语言
- 浅谈SAP CRM开发——技术概念、与ECC 系列产品区别详解编程语言
- SAP在Linux上安装(sap安装linux)
- SAP vs Oracle:差异点与解析(sap和oracle的区别)
- Oracle与SAP在仓储领域的联姻(仓库oracle和sap)
- 比拼Oracle与SAP的优劣对比(oracle与sap优劣)
- Oracle和SAP教程一步一步学习(oracle sap教程)
- 使用Oracle与SAP进行数据接口开发(oracle sap接口)
- 探索 Oracle 与 SAP 技术的开发可能性(oracle sap开发)