Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ebd5baf5
Commit
ebd5baf5
authored
Dec 03, 2021
by
Sri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Google OAuth2 return URL
The return_url should be `index` and not `service_accounts`
parent
b840e66a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/controllers/projects/google_cloud/service_accounts_controller.rb
...lers/projects/google_cloud/service_accounts_controller.rb
+1
-1
No files found.
app/controllers/projects/google_cloud/service_accounts_controller.rb
View file @
ebd5baf5
...
...
@@ -54,7 +54,7 @@ class Projects::GoogleCloud::ServiceAccountsController < Projects::GoogleCloud::
return
if
is_token_valid
return_url
=
project_google_cloud_
service_accounts
_path
(
project
)
return_url
=
project_google_cloud_
index
_path
(
project
)
state
=
generate_session_key_redirect
(
request
.
url
,
return_url
)
@authorize_url
=
GoogleApi
::
CloudPlatform
::
Client
.
new
(
nil
,
callback_google_api_auth_url
,
...
...
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