Customize Login Page of Admin UI v4

System Information
  • Strapi Version: 4.5.3
  • Operating System: Ubuntu 20
  • Database: Postgres
  • Node Version: v16.17.0
  • NPM Version: 8.15.0
  • Yarn Version: 1.22.19

The scenario is like this:
When the admin login via http://localhost:1337/admin/auth/login, it will send the input (email & password) to another service for some business logic. I already checked the docs and all related Q&A from this forum. This solution from javascript - How to create custom Registration and Login API using Strapi? - Stack Overflow feels like almost solving my problem, but it doesn’t work

image

I can’t even see the log showing up

solved

here for those who curious

ignore the dumb logic, i am just showing how to customize the function

2 Likes