We have been using a custom external auth plugin implementing IExternalAuthenticationPlugin for a long time now. In the upgrade from 10.2 to 10.3, the user registration functionality was broken. It appears that the platform now automatically redirects from /user/createuser to whatever is defined in the IExternalAuthenticationPlugin.CreateUserUrl property. However, if the CreateUserUrl property is /user/createuser, it produces an infinite redirect.
Here is a simple plugin that will cause the redirect issue:
using System.Web;
using Telligent.Evolution.Extensibility.Security.Version2;
using Telligent.Evolution.Extensibility.Urls.Version1;
namespace Test.OAuth
{
public class TestAuthPlugin: IExternalAuthenticationPlugin
{
public string Name => "TEST-Authentication";
public string Description => "TEST";
public void Initialize()
{
}
public string CreateUserUrl => "/user/createuser";
public string ChangePasswordUrl => "fake";
public string ForgottenPasswordUrl => "fake";
public string LoginUrl => "fake";
public string LogoutUrl => "fake";
public string ReturnUrlParameter => "returnUrl";
public int? GetAuthenticatedUserId(AuthenticationOptions options)
{
return null;
}
}
}