Questions tagged as 'owin'

1
answer

How to "call" an ASP.NET page without using IIS?

I need to get through the programming, the result of processing a page in ASP.NET, but I can not use IIS. Pseudocode that I need: processePagina("c:\caminho\para\meu\aspx\index.aspx", "url.ficticia?param1=valor1.....") This co...
asked by 06.09.2014 / 15:42
0
answers

OAuth authentication does not work in azure function

I created a webhost selfhost and I used OAuth to generate an authentication token, it worked as a console application but when I try to create a function in Azure it only returns server error (500) My Startup.cs public void Configuratio...
asked by 11.06.2018 / 20:09
1
answer

Customize IdentityUserClaim

I'm trying to customize the Identity Claims table, through the IdentityUserClaim class. I'm using a mapping, through the EntityTypeConfiguration class, but I get the error: The configuration for type 'Microsoft.AspNet.Identity.EntityFramewo...
asked by 08.03.2016 / 18:54
0
answers

Include associated class objects (ApplicationUser and UserProfile) - ApplicationUserManager and OWIN

I have the following problem: Within method GrantResourceOwnerCredentials in class OAuthProvider : OAuthAuthorizationServerProvider I'm filling in custom properties to be returned along with the Token. However, the associated cl...
asked by 02.12.2015 / 15:56
1
answer

Integration AD Identity x Azure AD x ADFS

I have an application with database authentication using OWIN and Identity. One customer requested single sign on with ADFS on premisse. I did it directly through OWIN, but the client requests a federation url (with metadata), which I do not own...
asked by 10.04.2018 / 14:19
1
answer

Web api 2 within MVC project. How to prevent redirection to the login page when the token is not valid

I'm doing an API Rest in an MVC project. In the API controllers ( ApiController ) I place the DataAnnotation Authorize , when the token entered is invalid, it detects and tries to redirect to the login page. But I do not want this be...
asked by 02.02.2017 / 21:05