identityserver3

Unable to obtain configuration from well-known/openid-configuration

China☆狼群 提交于 2019-11-29 06:59:10
I am using ASP.NET 5, In my solution I have Web API, Identity Server and Angular 2 project and I am authenticating Angular 2 client by using Identity Server, Angular 2 client consumes web api by passing token in http request and web api authenticate token and gives response, for this I have written a custom attribute which checks that user is authenticated or not When I consume API I am getting following exception and Web API returns 500 internal server error. System.InvalidOperationException: IDX10803: Unable to obtain configuration from: ' http://xx.xx.xx.x:3926/.well-known/openid

IdentityServer BearerAuthentication from WebApi Middleware using angular2-jwt

淺唱寂寞╮ 提交于 2019-11-28 13:10:50
问题 after updating my project to angular 2 final i had a problem getting WebApi2 authoriaztion to work with IdentityServer3 and angular2-jwt. Before everything worked fine when in angular2-jwt configuration the headername was empty and the token-getter-method returned simply the token. After updating an empty headername caused an javascript-error: EXCEPTION: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': '' is not a valid HTTP header field name. 回答1: So first i had to provide a

IdentityServer: The remote certificate is invalid according to the validation procedure

被刻印的时光 ゝ 提交于 2019-11-28 06:17:26
I'm trying to setup SSO using OWin and Thinktecture Identity Server but I am not having any luck getting the SSL certificate to work. At least I think that's the problem. All works fine when I'm in visual studio, but if I try to use IIS on my machine it gives me the error "The remote certificate is invalid according to the validation procedure". I've also tried using IIS as the client treat the instance running in visual studio as the token authority but I still get the same error. Anyone have any ideas on what I'm doing wrong? Jester In my case I was just trying to work through the samples

Identity Server v3 Custom Page Reset Password

纵饮孤独 提交于 2019-11-28 01:21:15
I want to make on login page a URL that will redirect to http://server/resetpassword/ and there will be my cusotm page, made CustomViewServices from samples, but there is not example how to add your own page https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/CustomViewService Any ideas? It's not necessary to create a CustomViewService, you can deal with this scenario adding the following code in your AuthenticationOptions (in your startup class) LoginPageLinks = new List<LoginPageLink>() { new LoginPageLink() { Href = "resetpassword", Text = "Reset Your Password",

IdentityServer: The remote certificate is invalid according to the validation procedure

流过昼夜 提交于 2019-11-27 01:15:45
问题 I'm trying to setup SSO using OWin and Thinktecture Identity Server but I am not having any luck getting the SSL certificate to work. At least I think that's the problem. All works fine when I'm in visual studio, but if I try to use IIS on my machine it gives me the error "The remote certificate is invalid according to the validation procedure". I've also tried using IIS as the client treat the instance running in visual studio as the token authority but I still get the same error. Anyone