mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
auth token 接入验证登录接口
This commit is contained in:
@@ -516,7 +516,7 @@ Doorkeeper::JWT.configure do
|
||||
user = User.find(opts[:resource_owner_id])
|
||||
|
||||
{
|
||||
iss: 'My App',
|
||||
iss: 'GitLink',
|
||||
iat: Time.current.utc.to_i,
|
||||
|
||||
# @see JWT reserved claims - https://tools.ietf.org/html/draft-jones-json-web-token-07#page-7
|
||||
|
||||
Reference in New Issue
Block a user