Can not access strapi's default or custom apis as super admin, even if i make those apis public. It is problematic when working with plugin

System Information
  • Strapi Version: 4.1.9
  • Operating System: Ubuntu 22.04
  • Database: postgres
  • Node Version: v16.15.1
  • NPM Version: 8.11.0
  • Yarn Version: not using

Even I tried with new strapi version:
Strapi Version: 4.20.2
node v20.11.1 (npm v10.2.4)

But the result is same.

lets say,
I have created a new content type (eg: todo).
If I am trying to get all todos as super admin (http://localhost:1337/api/todos), it is throwing 401.
Even if I make this api public, it is accessable as public (without JWT), but NOT with super admin’s JWT.

Can you please help me to figure out how I can get rid from this issue?

Yes,
I’m faced same issues. can’t access custom api’s.