"feat: Add CREDENTIALS.md and update database connection in backend/app/database/myp.db
This commit is contained in:
parent
02aeec4cf0
commit
33b565773b
1
CREDENTIALS.md
Normal file
1
CREDENTIALS.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
Binary file not shown.
@ -60,7 +60,12 @@
|
|||||||
@layer components {
|
@layer components {
|
||||||
/* Dark Mode Styles für Admin Panel */
|
/* Dark Mode Styles für Admin Panel */
|
||||||
.dark .bg-dark-card {
|
.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 */
|
/* Übergangseffekt für alle Komponenten */
|
||||||
|
@ -24,10 +24,14 @@ const getCallbackUrl = () => {
|
|||||||
// Berechne die Callback-URL
|
// Berechne die Callback-URL
|
||||||
export const USED_CALLBACK_URL = getCallbackUrl();
|
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
|
// Erstelle GitHub OAuth-Client mit expliziter Redirect-URI
|
||||||
export const github = new GitHub(
|
export const github = new GitHub(
|
||||||
process.env.OAUTH_CLIENT_ID as string,
|
GITHUB_CLIENT_ID,
|
||||||
process.env.OAUTH_CLIENT_SECRET as string,
|
GITHUB_CLIENT_SECRET,
|
||||||
{
|
{
|
||||||
enterpriseDomain: "https://git.i.mercedes-benz.com",
|
enterpriseDomain: "https://git.i.mercedes-benz.com",
|
||||||
redirectURI: USED_CALLBACK_URL,
|
redirectURI: USED_CALLBACK_URL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user