We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f61fb3a + b9d05b0 commit f94d5b9Copy full SHA for f94d5b9
apps/dokploy/components/dashboard/settings/git/show-git-providers.tsx
@@ -48,7 +48,7 @@ export const ShowGitProviders = () => {
48
) => {
49
const redirectUri = `${url}/api/providers/gitlab/callback?gitlabId=${gitlabId}`;
50
const scope = "api read_user read_repository";
51
- const authUrl = `${gitlabUrl}/oauth/authorize?client_id=${clientId}&redirect_uri=${encodeURIComponent(redirectUri)}&response_type=code&scope=${encodeURIComponent(scope)}`;
+ const authUrl = `${gitlabUrl}/oauth/authorize?client_id=${clientId}&redirect_uri=${encodeURIComponent(redirectUri)}&response_type=code&scopes=${encodeURIComponent(scope)}`;
52
return authUrl;
53
};
54
0 commit comments