Solved
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Questions
"IdentityServer": { "IsEnabled": "true", "Authority": "https://localhost:44301/", "ApiName": "default-api",
The endpoint introspect https:/<app>/connect/introspect return an Error 404 ! like explained here https://identityserver4.readthedocs.io/en/latest/endpoints/introspection.html
<head> <title>ADMIN - Error</title>
<link href="/view-resources/Views/Error/Index.css?v=8chyDsqrMk2dqzEb9NwpgKudCaENhDdlvh6dpWmjNzY" rel="stylesheet" />
</head> <div class="m-error_container"> <span class="m-error_title"> <h1> Error! </h1> </span> <p class="m-error_subtitle"> An internal error occurred during your request! </p> <p class="m-error_description"> </p> </div>
How we can access all IdentityServer endpoint so an external app can check accessToken and userInfo ?
Hi We tried to use the Dockerfile on the MVC project to build a docker image We use latest ASP.NET CORE MVC JQUERY
Here is the Generated Dockerfile by ASPNETZERO
Can you please provide exact Dockerfile include the minification process (npm run build)
-->
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base WORKDIR /app EXPOSE 80 EXPOSE 443
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build WORKDIR /src COPY ["src/ABC.ADMIN.Web.Mvc/ABC.ADMIN.Web.Mvc.csproj", "src/ABC.ADMIN.Web.Mvc/"] COPY ["src/ABC.ADMIN.Web.Core/ABC.ADMIN.Web.Core.csproj", "src/ABC.ADMIN.Web.Core/"] COPY ["src/ABC.ADMIN.Application/ABC.ADMIN.Application.csproj", "src/ABC.ADMIN.Application/"] COPY ["src/ABC.ADMIN.Application.Shared/ABC.ADMIN.Application.Shared.csproj", "src/ABC.ADMIN.Application.Shared/"] COPY ["src/ABC.ADMIN.Core.Shared/ABC.ADMIN.Core.Shared.csproj", "src/ABC.ADMIN.Core.Shared/"] COPY ["src/ABC.ADMIN.Core/ABC.ADMIN.Core.csproj", "src/ABC.ADMIN.Core/"] COPY ["src/ABC.ADMIN.EntityFrameworkCore/DUOKEY.ADMIN.EntityFrameworkCore.csproj", "src/ABC.ADMIN.EntityFrameworkCore/"] COPY ["src/ABC.ADMIN.GraphQL/ABC.ADMIN.GraphQL.csproj", "src/ABC.ADMIN.GraphQL/"] RUN dotnet restore "src/ABC.ADMIN.Web.Mvc/ABC.ADMIN.Web.Mvc.csproj" COPY . . WORKDIR "/src/src/ABC.ADMIN.Web.Mvc" RUN dotnet build "ABC.ADMIN.Web.Mvc.csproj" -c Release -o /app/build
FROM build AS publish RUN dotnet publish "ABC.ADMIN.Web.Mvc.csproj" -c Release -o /app/publish
FROM base AS final WORKDIR /app COPY --from=publish /app/publish . ENTRYPOINT ["dotnet", "ABC.ADMIN.Web.Mvc.dll"]