DennisWelu
DennisWelu

Reputation: 848

Nancy and IdentityServer4 on Net Core?

Great docs and samples for IdentityServer4. And likewise for Nancy. But running into some issues getting Nancy + IdentityServer4 together. Anyone done this yet? When I add this to the API Startup:

        app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions
        {
            Authority = "http://localhost:55555",
            RequireHttpsMetadata = false,

            ApiName = "MyAPI"
        });

It fails to resolve UrlEncoder when the service starts up. Plus I'm not sure how to configure the authorization requirements in Nancy modules. Any direction appreciated.

Upvotes: 4

Views: 944

Answers (1)

Sifiso Shezi
Sifiso Shezi

Reputation: 486

  1. Add Url encoder here
  2. Identity setup
  3. Module setup

Upvotes: 5

Related Questions