The correct redirect location should be '/api/logto/sign-in' instead of '/api/logto/login'.
Summary
I am not sure whether export default logtoClient.handleAuthRoutes() has changed route definition, the correct sign in route should be /sign-in instead of /login.
The correct redirect location should be
'/api/logto/sign-in'
instead of'/api/logto/login'
.Summary
I am not sure whether
export default logtoClient.handleAuthRoutes()
has changed route definition, the correct sign in route should be/sign-in
instead of/login
.Testing
Ref: https://github.com/logto-io/logto/blob/f539b0851d42eba974032582a8094a540c9f1246/packages/console/src/assets/docs/guides/web-next/README.mdx#L97
Checklist
.changeset
unit testsintegration testsnecessary TSDoc comments