mirror of
https://github.com/paralus/paralus.git
synced 2026-08-24 15:47:19 +00:00
Fix default Kratos public and admin urls
This resolved forbidden issue on userinfo endpoint.
This commit is contained in:
+2
-1
@@ -32,4 +32,5 @@ CORE_CD_RELAY_CONNECTOR_HOST='*.core-connector.cdrelay.paralus.local:10012'
|
||||
SCHEDULER_NAMESPACE='paralus-system'
|
||||
|
||||
# Kratos
|
||||
KRATOS_ADDR='http://localhost:4433'
|
||||
KRATOS_ADDR='http://localhost:4434' # admin
|
||||
KRATOS_PUB_ADDR='http://localhost:4433' # public
|
||||
|
||||
@@ -204,8 +204,8 @@ func setup() {
|
||||
viper.SetDefault(schedulerNamespaceEnv, "default")
|
||||
|
||||
// kratos
|
||||
viper.SetDefault(kratosAddrEnv, "http://localhost:4433")
|
||||
viper.SetDefault(kratosPublicAddrEnv, "http://localhost:4434")
|
||||
viper.SetDefault(kratosAddrEnv, "http://localhost:4434")
|
||||
viper.SetDefault(kratosPublicAddrEnv, "http://localhost:4433")
|
||||
|
||||
viper.BindEnv(rpcPortEnv)
|
||||
viper.BindEnv(apiPortEnv)
|
||||
|
||||
Reference in New Issue
Block a user