authentication - Microsoft Sign-In for ASP.NET MVC 5 web role -


i have created azure cloud service , in cloud service have web role serving mvc web application. followed this tutorial use microsoft account external authentication. when try localhost works perfectly. however, after deploy cloud service, changed redirect url site url http://109e199cf5864b50ab25ac839f8c151d.cloudapp.net/. doesn't work. can reach authorization part, after login microsoft account got error message: error occurred while processing request. should make work?

update: tried remove [authorize] tag in controller don't need login see view. after deployed again, got error message directly!! didn't login @ all! checked code error message error view template in shared folder. there no change of code return me error view! missing deployment here?

in comments of blog post referenced, author (ben day) said there update redirect uri.

with latest version of asp.net identity code, redirect uri different value. on account.live.com, redirect url value app going “http://myapp-url/signin-microsoft”.

you may want check have correct values here.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -