惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

K
Kaspersky official blog
Martin Fowler
Martin Fowler
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
V
Visual Studio Blog
博客园_首页
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
T
The Blog of Author Tim Ferriss
雷峰网
雷峰网
D
Docker
博客园 - 司徒正美
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
U
Unit 42
J
Java Code Geeks
A
About on SuperTechFans
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security Affairs
I
Intezer
Cisco Talos Blog
Cisco Talos Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
B
Blog RSS Feed
P
Privacy & Cybersecurity Law Blog
T
Tenable Blog
T
Threatpost
H
Hacker News: Front Page
G
Google Developers Blog
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
L
Lohrmann on Cybersecurity
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
A
Arctic Wolf
S
Secure Thoughts
GbyAI
GbyAI
NISL@THU
NISL@THU
S
Security @ Cisco Blogs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Webroot Blog
Webroot Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
O
OpenAI News
Spread Privacy
Spread Privacy
Application and Cybersecurity Blog
Application and Cybersecurity Blog

ERP

跨境独立站, ERP, Medusa ERP 系统本身不提供提醒 API 有什么办法做到自动化,或者提醒。 除了 用友、金蝶 外,国产的 ERP 软件还有那些好用的吗? 有没做过日化代工工厂的企业 ERP、MES、仓储系统的 V 友,有项目合作,请站内联系,来信必复 有PHP或者Python的类似ERP的东西吗? php 中有好的开源的 ERP 系统么?想研究研究 说说大家公司用的什么 ERP 系统
对接了一个 ERP, auth2 登录 30 分钟令牌就过期了
Achiii · 2020-08-12 · via ERP

这是一个创建于 2131 天前的主题,其中的信息可能已经有所发展或是发生改变。

最近对接了 Exact Online 每次获取新的令牌都需要跳转到 ERP 网页输入用户名和密码,再回调刷新令牌和 token 。大佬们能咋办呢,模拟登录吗?

FinnBai

1

FinnBai      2020 年 8 月 12 日

每次获取新令牌都需要用户名密码的话,为什么要有刷新令牌。

只有刷新令牌没用的时候才会需要重新获取。

Achiii

3

Achiii      2020 年 8 月 12 日

@baiyi
@beichenhpy
这边逻辑大概是这样的
if(token 过期){
if(令牌过期){
重新获取令牌
跳转 ERP 页面输入用户名和密码,有时还要输入 code
}else{
重新获取 token
}
}else{
return token
}
然后每次调用接口都要判断 token 是否过期,如果令牌过期的话就跳转到用户名密码的输入页面。总觉得不是很科学的样子

Achiii

4

Achiii      2020 年 8 月 12 日

感觉表述有误,应该是 Authorization_Code 和 Access_Token 。然后 Authorization_Code 过期时候需要跳转 ERP 页面用户密码获取,然后这玩意 30 分钟过期一下