Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • YuQing Zhang 7 posts 28 karma points
    Apr 16, 2024 @ 20:21
    YuQing Zhang
    0

    Redirect /umbraco/backoffice/UmbracoApi/Authentication to custom post request

    I am working on a Umbraco V8.18 project. I need to extend the PostRequestPasswordReset in the default AuthenticationController.

    Therefore I created a custom PostRequestPasswordReset action in my own AuthenctionController.

    Is there any event I can hook up to redirect the /umbraco/backoffice/UmbracoApi/Authentication/PostRequestPasswordReset to my own own PostRequestPasswordReset (/umbraco/backoffice/UmbracoApi/MyAuthentication/PostRequestPasswordReset)?

  • Steffen Hornbæk Nielsen 56 posts 168 karma points
    Apr 18, 2024 @ 12:19
    Steffen Hornbæk Nielsen
    0

    Hi YuQing,

    This should be possible using URL Hijaking. There is already greate documetnation for this -> https://docs.umbraco.com/umbraco-cms/reference/routing/custom-controllers

    You basicly make a custom controller, with the route set to "/umbraco/backoffice/UmbracoApi/Authentication/PostRequestPasswordReset", where your own PostRequestPasswordReset will be used.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies