Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GÉANT Service Orchestrator GUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator GUI
Merge requests
!34
add refresh token logic
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add refresh token logic
feature/NAT-761-add-refresh-token-logic
into
develop
Overview
2
Commits
2
Pipelines
2
Changes
4
All threads resolved!
Hide all comments
Merged
Mohammad Torkashvand
requested to merge
feature/NAT-761-add-refresh-token-logic
into
develop
6 months ago
Overview
2
Commits
2
Pipelines
2
Changes
2
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
version 1
version 1
ee46b705
6 months ago
develop (base)
and
latest version
latest version
e6fdd6f1
2 commits,
6 months ago
version 1
ee46b705
1 commit,
6 months ago
Show latest version
2 files
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
pages/api/auth/[...nextauth].ts
+
1
−
1
Options
@@ -21,7 +21,7 @@ async function refreshAccessToken(token: JWT): Promise<JWT> {
refresh_token
:
token
.
refreshToken
as
string
,
});
const
response
=
await
fetch
(
process
.
env
.
TOKEN_ENDPOINT
!
,
{
const
response
=
await
fetch
(
process
.
env
.
NEXTAUTH_
TOKEN_ENDPOINT
!
,
{
method
:
'
POST
'
,
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
Loading