Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
videoag
backend
Commits
573ca987
Commit
573ca987
authored
1 month ago
by
Simon Künzel
Browse files
Options
Downloads
Patches
Plain Diff
Add debug log statement for OAuth
parent
f68f3bec
No related branches found
No related tags found
No related merge requests found
Pipeline
#7711
passed
1 month ago
Stage: build
Stage: run
Pipeline: backend
#7712
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/src/api/authentication.py
+2
-0
2 additions, 0 deletions
api/src/api/authentication.py
with
2 additions
and
0 deletions
api/src/api/authentication.py
+
2
−
0
View file @
573ca987
...
...
@@ -397,6 +397,8 @@ else:
try
:
token_response
=
__make_oauth_request
(
"
token
"
,
code
=
api_session
.
running_oauth_code
,
grant_type
=
"
device
"
)
if
token_response
.
get
(
"
status
"
)
!=
"
ok
"
:
# TODO debug statement
print
(
f
"
Got non-
'
ok
'
status for OAuth:
{
token_response
}
"
)
return
api_session
.
running_oauth_code
=
None
api_session
.
running_oauth_scope
=
None
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment