Fix default Kratos public and admin urls

This resolved forbidden issue on userinfo endpoint.
This commit is contained in:
Akshay Gaikwad
2022-06-16 15:15:40 +05:30
parent 8778a0925e
commit 7d4001589a
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -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
+2 -2
View File
@@ -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)