ory / network

Ory runs a global end-to-end security infrastructure for humans, robots, and servers. We build and use open source software.
Apache License 2.0
81 stars 6 forks source link

`Authentication > Sign In After Registration` should be disabled if `Email Verification > Require Verified Address for Login` is selected #107

Open iamim opened 2 years ago

iamim commented 2 years ago

Preflight checklist

Describe the bug

Link to discussion on Ory Slack: https://ory-community.slack.com/archives/C02MR4DEEGH/p1655990349961859

if I select “login after registration” combined with “require email validation” in Ory Console, I’m redirected to the page after registration (Vue + Node example) and it displays my session, but if I try to perform any login operations it asks to validate email first maybe “login after registration” should be implicitly turned off if validation is required?

Reproducing the bug

Default Ory Cloud setup, Vue + Node demo guide.

  1. Enable Authentication > Sign In After Registration in Ory Console
  2. Enable Email Verification > Require Verified Address for Login in Ory Console
  3. From unauthenticated state in Vue frontend, after going through Sign-in flow the user is returned to the page in logged in state (api/hello returns session). However, no interaction with Ory is possible before verification is complete

Relevant log output

No response

Relevant configuration

No response

Version

"@ory/client": "^0.0.1-alpha.189", Ory Cloud

On which operating system are you observing this issue?

Ory Cloud

In which environment are you deploying?

Ory Cloud

Additional Context

No response

aeneasr commented 2 years ago

Thank you fery much for the suggestion! I agree with this, and we'll put it on our back log!

sashatalalasha commented 7 months ago

can't reproduce the issue. After sign in/log in, I'm redirected to verify your account page