Authenticate Continue removed

Broke some things. We were passing the Authenticate dto to other methods in our custom auth provider and some auth url helpers that don’t have access to Request.

Still early yet, but looks like the only way is to add a specific param for continue on those methods outside of a Service that don’t have access to Request.

You can pass it in the Authenticate.Meta dictionary.

If you have access to IRequest you can get it from IRequest.GetReturnUrl(). Note this gets validated by AuthFeature.ValidateRedirectLinks which by default invalidates external links.

Thanks for the reminder about Authenticate.Meta. That seemed to work for what we needed.

1 Like