Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
browser-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
browser-backend
Commits
8bccdd6e
Commit
8bccdd6e
authored
Jul 29, 2020
by
xuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
延长用户token的有效时间
parent
5c660f3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
OAuth2AuthorizationConfig.java
...browserbackend/auth/config/OAuth2AuthorizationConfig.java
+2
-2
No files found.
src/main/java/com/edgec/browserbackend/auth/config/OAuth2AuthorizationConfig.java
View file @
8bccdd6e
...
@@ -50,8 +50,8 @@ public class OAuth2AuthorizationConfig extends AuthorizationServerConfigurerAdap
...
@@ -50,8 +50,8 @@ public class OAuth2AuthorizationConfig extends AuthorizationServerConfigurerAdap
.
withClient
(
"browser"
)
.
withClient
(
"browser"
)
.
authorizedGrantTypes
(
"refresh_token"
,
"password"
)
.
authorizedGrantTypes
(
"refresh_token"
,
"password"
)
.
scopes
(
"browser"
)
.
scopes
(
"browser"
)
.
accessTokenValiditySeconds
(
30
0
)
.
accessTokenValiditySeconds
(
7
*
24
*
60
*
6
0
)
.
refreshTokenValiditySeconds
(
4320
0
)
.
refreshTokenValiditySeconds
(
30
*
24
*
60
*
6
0
)
.
and
()
.
and
()
.
withClient
(
"cloudam-browser"
)
.
withClient
(
"cloudam-browser"
)
.
secret
(
env
.
getProperty
(
"ACCOUNT_SERVICE_PASSWORD"
))
.
secret
(
env
.
getProperty
(
"ACCOUNT_SERVICE_PASSWORD"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment