How to fix identity service OAuth Unable to register resource issue when trying to implement Oauth
Hello Community,
I am trying to deploy identity service on premise using docker, my application is on version 8.1.4 running also on docker container. The identity service container is up and running, it created records in the database in (Clients, ClientScopes, ClientGrantTypes, ClientPostLogoutRedirectUris,...). Reachable on https://creatio-dev.ma:7020/.well-known/openid-configuration, it renegates token on https://creatio-dev.ma:7020/connect/token.
But when trying to create a default resource after filling the system settings with the values form appsetting.json it failed and showed the message below : 
When Checked app/Logs/Error.log I see : 
Here is dockerfile used :
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS base WORKDIR /app COPY . . ENV ASPNETCORE_URLS=http://+:80 # Expose the port your application listens on EXPOSE 80 EXPOSE 433 # Define the entrypoint for your application ENTRYPOINT ["dotnet", "IdentityService.dll"]
Have you faced such issue? if so how did you manage to fix it ?
Like
Hello.
Please check this article
https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/deployment-additional-setup/identity-service/oauth-health-monitoring
If the steps outlined above do not resolve the issue, we recommend contacting the Creatio Support team via email at support@creatio.com.
Best regards,
Antonii.
Antonii Viazovskyi,
The error message : IdentityService specified in system setting OAuth20IdentityServerUrl is unavailable.
See below :
I checked [Identity Service URL]/.well-known/openid-configuration see Below : 