You can create your own authorization endpoint, but it's easier to use an existing service such as IndieAuth.com. To delegate to IndieAuth.com, you can use the markup provided below.

<link rel="authorization_endpoint" href="https://indieauth.com/auth">

Link: <https://indieauth.com/auth>; rel="authorization_endpoint"