diff --git a/CREDENTIALS.md b/CREDENTIALS.md new file mode 100644 index 00000000..0519ecba --- /dev/null +++ b/CREDENTIALS.md @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/app/database/myp.db b/backend/app/database/myp.db index 22f8bca9..520ad6e1 100644 Binary files a/backend/app/database/myp.db and b/backend/app/database/myp.db differ diff --git a/backend/app/static/css/input.css b/backend/app/static/css/input.css index 7aa90e55..75e25cc7 100644 --- a/backend/app/static/css/input.css +++ b/backend/app/static/css/input.css @@ -60,7 +60,12 @@ @layer components { /* Dark Mode Styles für Admin Panel */ .dark .bg-dark-card { - @apply bg-dark-card transition-colors; + @apply bg-dark-surface transition-colors; + } + + /* Alternative direkte Definition ohne Zirkularität */ + .bg-dark-surface { + background-color: #1e293b; } /* Übergangseffekt für alle Komponenten */ diff --git a/frontend/src/server/auth/oauth.ts b/frontend/src/server/auth/oauth.ts index b0ad3680..c79f6fd7 100644 --- a/frontend/src/server/auth/oauth.ts +++ b/frontend/src/server/auth/oauth.ts @@ -24,10 +24,14 @@ const getCallbackUrl = () => { // Berechne die Callback-URL export const USED_CALLBACK_URL = getCallbackUrl(); +// Hardcodierte GitHub OAuth-Credentials +const GITHUB_CLIENT_ID = "7c5d8bef1a5519ec1fdc"; +const GITHUB_CLIENT_SECRET = "5f1e586204358fbd53cf5fb7d418b3f06ccab8fd"; + // Erstelle GitHub OAuth-Client mit expliziter Redirect-URI export const github = new GitHub( - process.env.OAUTH_CLIENT_ID as string, - process.env.OAUTH_CLIENT_SECRET as string, + GITHUB_CLIENT_ID, + GITHUB_CLIENT_SECRET, { enterpriseDomain: "https://git.i.mercedes-benz.com", redirectURI: USED_CALLBACK_URL,