Updated sso with custom config