docker、keycloak 配置

This commit is contained in:
JIANG
2025-09-25 09:24:57 +08:00
parent 63ee889d6c
commit e34dc99330
3 changed files with 78 additions and 4 deletions

View File

@@ -5,9 +5,9 @@ const authOptions = {
providers: [
// !!! Should be stored in .env file.
KeycloakProvider({
clientId: `refine-demo`,
clientSecret: `refine`,
issuer: `https://lemur-0.cloud-iam.com/auth/realms/refine`,
clientId: `tjwater`,
clientSecret: `Darcm3gw0ZEJhIxt4DQUvacXpVlE7MBt`,
issuer: `http://localhost:8088/realms/tjwater`,
profile(profile) {
return {
id: profile.sub,
@@ -18,7 +18,7 @@ const authOptions = {
},
}),
],
secret: `UItTuD1HcGXIj8ZfHUswhYdNd40Lc325R8VlxQPUoR0=`,
secret: `Darcm3gw0ZEJhIxt4DQUvacXpVlE7MBt`,
};
export default authOptions;