Commit ebd5baf5 authored by Sri's avatar Sri

Update Google OAuth2 return URL

The return_url should be `index` and not `service_accounts`
parent b840e66a
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment