-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing method exception #14
Comments
Looks like you might be using a different version of Service Stack if the method is missing |
I'm using Service Stack version 5.2 |
The plugin was built with version 4.0.56 so version 5 likely isn't supported. |
I just got code from this git to try it, and it works fine if I run for example IdentityServe3.SelfHost and UserAuthProvider.ServiceStack.SelfHost for example, however, if I try for example to run it against mine identity server 4 instance, it does not work, I'm getting this:
Is there something special that I need to do if I'm calling identity server which is behind I saw something like |
As a guess, you might need to set the tls version using ServicePointManager depending on the certificate being used. e.g. System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; |
HA, ok now we are getting somewhere, I managed to get to mine identity server after I added these security protocols. Now just need to figure out what's wrong with my .NET Core setup and 5.2 version for Service Stack. |
Just wanted to confirm that this library can work with latest SS 5.4.1 and core 2.1, however I'm still struggling with popup which appear after I login into IdentityServer saying:
Any idea if something might be off with client registration? |
Is your Service Stack application is using HTTP and your Identity Server instance is HTTPS? If so the browser will give you a warning. |
Yes, my app is behind the http, and identity server behind https, and warning is fine (I was receiving it with .net core (without your plugin as well, but just once), but the thing is this time this warning keeps triggering callback method, and from callback method in your plugin, and never gets redirected to my API method. |
It’s probably failing to authenticate on the Service Stack. You’ll need to confirm the callback url is configured correctly in identity server. |
In this file from your repository, this condition with IdentityServer4 will never be true:
...because this
After that with my local identityserver4 everything works fine, however, with Azure I'm just having one more issue, and it's with When enter this method from my azure instance:
|
Is the nonce in the response received from IdentityServer4? |
Yes, there's a nonce in the response received from IdentityServer4, but it looks like there's some issue with previously saved session (with When I compare cookies for example, I don't have any cookie on second post from from azure idsvr to my localhost client application, somehow these |
@vsavic - seeing something similar, did you ever make progress with this? |
Hey @chrismcv, sorry for delay... no I just switched to default SS JWT auth to work with Identity Server. |
When I try to access protected api method, I got redirected to
/auth/IdentityServer?redirect=path-to-my-api-method
with following exception:I thought this would redirect me to identity server instance so I can login (locally or to use registered external providers), any idea why is this happening?
The text was updated successfully, but these errors were encountered: