0

I have OAuth 2.0 installed in my Craft project. I built an event that every URL is redirected to example.com/oauth and needs authorization if not logged in.

Everything works except these two routes:

  • /api -> defined in routes.php for graphql frontend schema
  • /admin and /admin/login -> defined as cpTrigger in general.php

Is there any way to also trigger these two routes for my event?

Thanks in advance!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.