I need to implement Azure AD b2c in a an old WEBFORMS application (not an MVC application). I followed the instructions and validated the Azure AD B2C configuration by running this sample. After that, I've added all the applicable nugets to my OLD WEBFORMS application and copy the appropriated code. What I have is an EXCEPTION when calling the Challenge method. When I look at network trace I saw an extra "?" on the authentication URL before the client_id
The URL generated by the sample, that works, is:
The URL generated by my old WEBFORMS application is:
How can I fix this?