diff --git a/templates/gitlab.rb.j2 b/templates/gitlab.rb.j2
index 1fdfe9111f2d52e4215a4fe46cb0f5dfe2f1d03d..e457a68c2c4e9842939915651e069cfe6882d143 100644
--- a/templates/gitlab.rb.j2
+++ b/templates/gitlab.rb.j2
@@ -40,7 +40,7 @@ gitlab_rails['omniauth_providers'] = [
     "name" => 'openid_connect',
     "args" => {
       'name' => 'openid_connect',
-      'issuer' => 'https://{{ sso_url }}',
+      'issuer' => 'https://{{ sso_url }}/',
       'scope' => ['openid', 'profile', 'email'],
       'response_type' => 'code',
       'client_auth_method' => 'client_secret_post',