-1

I'm working with identity Server.
Created POC using Asp.net website and Identity Server3.
We successfully login into identity server.
Issue : When we login successfully after display page like following screen shot.

Permission Issue

Following is my code.

Startup File

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

1 Answers1

1

You need to remove the LoginPath = new PathString("/identity/permissions) line from your cookie middleware.

The /permissions endpoint shows you client applications that the user has authorized to use their data. It is not involved in the login process.

Scott Brady
  • 5,498
  • 24
  • 38
  • I'm using "ASP.net website" as Application. When i remove LoginPath that time i cann't redirect to Identity Server. – Parth Modi Aug 23 '16 at 13:52
  • But the page you are seeing is because of the above. If it doesn't work with that removed then suggests further issues. If the request isn't making it to IdentityServer, you'll need to look at either the katana logging for your client application or what's going on in the redirect to identity provider notification. – Scott Brady Aug 23 '16 at 13:56
  • 1
    Finally, i have done without using LoginPath display identity server login page. but after login we have issue for redirect to application. is there any log sample code for loggin , i am not able to installing serilog in my appllication. kindly suggest any logger name. Thanks – Parth Modi Aug 25 '16 at 09:46