MadAppGang / identifo

Universal authentication framework for web, created with go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Identifo Configuration: Error loop in reading the configuration

kazemisoroush opened this issue · comments

In Identifo v2.1.2, when the Identifo container is spinning up with an AWS IAM user, it use to get the configurations and parse them from S3 using this key in the config YAML file:

config:
    type: s3
    s3:
        region: ap-southeast-2
        bucket: identifo-dev
        key: server-config.yaml

But in v2.1.3 this config has been removed from "parser" but the application is expecting to get this piece of the configuration parsed properly. Please see the below code that is checking for that config:

image

So, basically, there is no way to get away from the above check. The config parser won't let you set the config key and the above code expects to see the config key.