You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
I use the identity server 3 (2.2.2) for a connection with a wpf client. Everything works fine when I don’t use required consent (client setting RequireConsent=false). If I activate consent the server doesn’t call my redirect uri. Instead he calls a server internal uri and gets an http error 405.
The following steps I see:
Login dialog is shown (I will make a valid login)
Permission dialog is shown (I give all permissions)
Problem: Now the identity server calls the following uri and inside my browser control I get an HTTP 405 error. He tells me there was a development error.
My browser control waits for the redirect uri (in my case oob://wpfapp). But with the error my application stops working and still waits for a valid login.
I checked my code but I stuck and do not know what can be my problem. Has anyone an idea what can be my problem. Maybe I forgot a setting. But where can it be?
I use the following versions of identity server:
identity server 3: 2.2.2
identity model: 1.2.1
privatevoidOnPropertyChanged(objectsender,PropertyChangedEventArgspropertyChangedEventArgs){switch(propertyChangedEventArgs.PropertyName){case nameof(this.Uri):if(this.Uri.AbsoluteUri.StartsWith(this.LoginWindowRequestContext.CallbackUrl)){// Do something }break;}}
The text was updated successfully, but these errors were encountered:
I checked the example and saw that after I agree the claim on the ui the side calls the identity server with connect/consent. After that the server calls the redirect URL.
In my case the call of connect/consent won't be accept by the identity server (http error 405). My Visual Studio writes the following exception on the console. Inside the identity server log file is no information about the exception:
Exception thrown: 'System.Web.Http.HttpResponseException' in IdentityServer3.dll
My problem is, that there is no setting inside the identity server, where i can control the calling of the connect/console. I am a little lost, where i can search for the problem.
I saw in the source code from identity server that at 08. Oct. 2015 there was a changing of the endpoint routing (Remove disabled endpoints from routing table #1543). One of this changing was the connect/consent endpoint. Could it be, that i need change one of my settings because of that change?
I use the identity server 3 (2.2.2) for a connection with a wpf client. Everything works fine when I don’t use required consent (client setting RequireConsent=false). If I activate consent the server doesn’t call my redirect uri. Instead he calls a server internal uri and gets an http error 405.
The following steps I see:
I checked my code but I stuck and do not know what can be my problem. Has anyone an idea what can be my problem. Maybe I forgot a setting. But where can it be?
I use the following versions of identity server:
identity server 3: 2.2.2
identity model: 1.2.1
Here my code ...
Client Settings
Create server url
Code inside my browser control
The text was updated successfully, but these errors were encountered: