Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Email connection (passwordless) email configuration and totp doesn't work #191

Closed
miki2826 opened this issue Apr 1, 2020 · 0 comments · Fixed by #192
Closed

Email connection (passwordless) email configuration and totp doesn't work #191

miki2826 opened this issue Apr 1, 2020 · 0 comments · Fixed by #192

Comments

@miki2826
Copy link
Contributor

miki2826 commented Apr 1, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

0.12.24

Affected Resource(s)

  • auth0_connection

Terraform Configuration Files

resource "auth0_connection" "email" {
  name = "email"
  is_domain_connection = false
  strategy = "email"
  enabled_clients = [app1, app2]
  options {
    disable_signup = true
    name = "email"
    from = "Whomever <[email protected]>"
    subject = "subject"
    syntax = "liquid"
    template = "some html here"
    brute_force_protection = true

    totp  {
      time_step = 180
      length = 6
    }
  }
}

Expected Behavior

Once I query the auth0 api I expect to get something like:

  {
    "id": "con_some id",
    "options": {
      "name": "email",
      "totp": {
        "length": 6,
        "time_step": 180
      },
      "email": {
        "body": "<MY HTML HERE>",
        "from": "Whomever <[email protected]>",
        "syntax": "liquid",
        "subject": "subject"
      },
      "disable_signup": true,
      "brute_force_protection": true
    },
    "strategy": "email",
    "name": "email",
    "is_domain_connection": false,
    "realms": [
      "email"
    ],
    "enabled_clients": [
      "1xxx",
      "2xxx"
    ]
  }

Actual Behavior

What I get is:

  {
    "id": "con_some id",
    "options": {
      "name": "email",
      "disable_signup": true,
      "brute_force_protection": true
    },
    "strategy": "email",
    "name": "email",
    "is_domain_connection": false,
    "realms": [
      "email"
    ],
    "enabled_clients": [
      "1xxx",
      "2xxx"
    ]
  }

No email or totp configurations saved

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant