IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Sample for Asp.Net Core project that hosts both API and IdentityServer

Open joshmouch opened this issue 8 years ago • 5 comments

In all the samples I can find, the IdentityServer and the API using the IdentityServer are broken up into two projects. Do you have a sample solution or else a set of suggested configuration for a solution that hosts both together?

There seem to be several odd things that happen in this case. For example, when tokens are being validated, it's actually hitting a URL endpoint rather than validating locally. There use to be a setting to change this back in IdentityServer3, but this appears to have been removed in IdentityServer4. Another oddity is that you have to configure the Authority to whatever the API URL currently is, even though it's self-hosted. There are a few more oddities here and there.

joshmouch avatar Jul 30 '18 15:07 joshmouch

Docs: http://docs.identityserver.io/en/release/topics/add_apis.html Video: https://vimeo.com/254635632

brockallen avatar Jul 31 '18 14:07 brockallen

you're the best Allen - thank you very much! 👍

AlexanderBosshard avatar Aug 01 '18 09:08 AlexanderBosshard

The documentation link provided by @brockallen seems to be broken, is there a more up-to-date reference on this topic?

Greeng0 avatar Feb 22 '19 21:02 Greeng0

http://docs.identityserver.io/en/latest/topics/add_apis.html

trevor-hackett avatar Apr 22 '19 15:04 trevor-hackett

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 11 '20 14:01 lock[bot]