I just created a webform that is hosted in my Azure subscription. I set it up with authenication via my works Azure directory for authenticating users. In debug this works f
I also had this issue and took these steps to resolve
ReplyUrl
to the url of the app (e.g. http://appname.azurewebsites.net
)Then I got the error
Bad Request - Request Too Long HTTP Error 400. The size of the request headers is too long.
Next I cleared all cookies from the browser, and this changed the error to just
Bad Request
So I went back to that ReplyUrl
and changed it to https://appname.azurewebsites.net/.auth/login/aad/callback
and now it appears to work.
Note I also had to make sure I didn't have the site open in any other tabs before it started working