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
    15 days ago
    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 42 posts 133 karma points
    1 week ago
    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.

Please Sign in or register to post replies

Write your reply to:

Draft