<@U04UQ68083H> can I setup ory network to use the ...
# ory-copilot
s
@chilly-king-10285 can I setup ory network to use the link method for normal login?
c
A message from kapa.ai
Ory supports two methods for account recovery: one-time codes and magic links. However, these methods are specifically for account recovery and not for normal login. The one-time code method is the default, preferred, and recommended method by Ory. The magic link method is considered a legacy solution and is set to be removed in future releases. For normal login, Ory uses a flow that can be initialized for server-side browser clients. The server responds with a HTTP 303 redirect to the Login UI, appending the
?flow=<flow-id>
query parameter to the URL configured in the Ory Identities config. Here is an example of how you can configure the login URL in the Ory Identities config:
Copy code
yaml selfservice:    flows:    login:    # becomes <http://127.0.0.1:4455/auth/login?flow=df607aa1-d555-4b2a-b3e4-0f5a1d2fe6f3>    ui_url: <http://127.0.0.1:4455/auth/login>
For more information, you can refer to the [Ory documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-login#login-for-server-side-browser-clients).