docker、keycloak 配置
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user