Protect against CSRF attacks when adding Slack app
This commit adds a masked CSRF token to the OAuth2 redirect_uri in the state parameter. To successfully add the Slack integration, the token must be consistent with the session CSRF token. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51215
Showing
Please register or sign in to comment