Starts in:
1 DAY
5 HRS
20 MIN
47 SEC
Starts in:
1 D
5 H
20 M
47 S

Activities of "mervintan"

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

We are currently developing a solution to integrate with Microsoft Graph API. We have challenges on retrieving the Azure AD Token.

We have configured the Azure AD OpenIdConnect as mentioned in the ABP documentation - https://docs.abp.io/en/abp/2.8/How-To/Azure-Active-Directory-Authentication-MVC#2-alternative-approach-addopenidconnect. We are able to login using Azure AD OpenId but we are stuck on the part to retrieve the Azure AD access token.

We are able to retrieve the token through the controller method with Authorize Attribute by defining the AuthenticationSchemes. However the token retrieve through this method will replace the bearer token for application and results in the current user to be logged off.

Please advise.

Hi, we have tried the method mentioned in the link but it wasn't really helpful. Some additional info & questions as below

Time Zone We’ve followed the documentation below for the time zone conversion. https://docs.abp.io/en/abp/latest/Timing

The Abp.Timing.Timezone settings was setup in the appsettings.json with the value “Asia/Kuala_Lumpur” (Time Zone Id) but we encountered an exception. After changing the value to **“Singapore Standard Time” **(Standard Time Zone Name), the error was resolved.

However, I’m not able to find any documentation on the abp io site on how to implement the datetime conversion from UTC to local time for both server and client-side.

I was able to find similar usage of the Abp.Timing.Timezone at the following site https://support.aspnetzero.com/QA/Questions/3237/Correct-way-to-use--AbpTiming where it specified to use moment-timezone for client-side conversion using IANA timezoneId. But there are no specific ways to implement this on the client-side and I’m not able to find implementation on the server side. For server side are we supposed to use .Net Core provided method (https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.converttime?view=net-5.0) or ABP has this function built-in?

Additionally, I’m not able to find documentation on how to handle user from multiple time zones.

Questions:-

  1. How to implement the UTC to local conversion using ABP approach after setting up Abp.Timing.Timezone for client-side and server side?
  2. How to handle users that comes from different timezones?

DateTime Format The time zone is affecting the input field with type=”date” which resulted in input value unable pass over to the back-end.

  1. After we configure to add en-MY languages to the Module, the input field with type=”date” is unable to pass values with date after 12th. But on the other hand, the default date time input with time format was able to pass the correct value.
  2. After removing the en-MY configuration from Module, both inputs are working fine.

We have tried to configure the default language as below screenshot

Browser: Chrome Language: en-GB

Browser: Chrome (Incognito) Language: en

We are also trying configure the date format as dd/MM/yyyy but due to language configuration, it will revert to MM/dd/yyyy at times, resulting in below error

ABP Framework Version: v4..0.0 UI Type: MVC / Razor Pages Tiered (MVC): Yes

Manually adding the "~" symbol to Url this is right! We have also done that in the new versions. if you are using Virtual Directory local URLs must start with ~ , otherwise just / is enough

Noted with thanks.

When you mentioned that you have done that in the new version, it is still manually added or it becomes automated?

How about the script? (please refer to above screenshot shared previously)

[ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent

Remove https://abpapidev.azurewebsites.net/agent from allowed cors origins in your appsettings. https://abpapidev.azurewebsites.net is enough.

I have managed to deploy into virtual directory. Others than the settings in appsettings.json file, would need to update the Cors in database as well.

After we have successfully deployed into the virtual directory, there are 2 challenges that we face as below

  • Manually adding the "~" symbol to Url
  • Adding the virtual directory path in Html Header

Is there any best practice or universal method that we can maintain the Virtual directory path value?

[INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747O6LQ34V:00000002","TimeStamp":"2021-03-11T03:39:11.0000000Z","ProcessId":6808,"LocalIpAddress":"127.0.0.1:45726","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FEH:00000003","TimeStamp":"2021-03-11T03:41:27.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FEK:00000002","TimeStamp":"2021-03-11T03:46:41.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FEK:00000006","TimeStamp":"2021-03-11T03:47:27.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FEQ:00000002","TimeStamp":"2021-03-11T03:49:05.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FET:00000003","TimeStamp":"2021-03-11T03:51:12.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FET:00000004","TimeStamp":"2021-03-11T03:51:24.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FET:00000005","TimeStamp":"2021-03-11T03:51:42.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FEU:00000002","TimeStamp":"2021-03-11T03:57:54.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FF0:00000002","TimeStamp":"2021-03-11T04:01:18.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FF2:00000002","TimeStamp":"2021-03-11T04:52:22.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FF4:00000002","TimeStamp":"2021-03-11T06:04:39.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FF6:00000002","TimeStamp":"2021-03-11T06:09:04.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FF8:00000002","TimeStamp":"2021-03-11T06:16:22.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"672e23a3-67fe-4408-e30b-39fb31a22b71","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FFA:00000006","TimeStamp":"2021-03-11T06:32:09.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FF9:0000000D","TimeStamp":"2021-03-11T06:33:08.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"672e23a3-67fe-4408-e30b-39fb31a22b71","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FF9:00000010","TimeStamp":"2021-03-11T06:33:56.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"672e23a3-67fe-4408-e30b-39fb31a22b71","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FFB:00000003","TimeStamp":"2021-03-11T06:34:09.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747TNU5FFB:00000004","TimeStamp":"2021-03-11T06:34:22.0000000Z","ProcessId":6760,"LocalIpAddress":"127.0.0.1:40994","RemoteIpAddress":"52.114.7.6","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM74DHM399E4:00000004","TimeStamp":"2021-03-11T09:02:58.0000000Z","ProcessId":5140,"LocalIpAddress":"127.0.0.1:28609","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM74DHM399EA:00000002","TimeStamp":"2021-03-11T09:07:36.0000000Z","ProcessId":5140,"LocalIpAddress":"127.0.0.1:28609","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"62b9e895-d479-b8ce-e6d9-39fb32aa5223","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM74DNR4AOIU:00000007","TimeStamp":"2021-03-11T09:15:08.0000000Z","ProcessId":6696,"LocalIpAddress":"127.0.0.1:33628","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"62b9e895-d479-b8ce-e6d9-39fb32aa5223","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM74DNR4AOIU:0000000D","TimeStamp":"2021-03-11T09:16:38.0000000Z","ProcessId":6696,"LocalIpAddress":"127.0.0.1:33628","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"62b9e895-d479-b8ce-e6d9-39fb32aa5223","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM74DNR4AOJ4:00000004","TimeStamp":"2021-03-11T09:16:46.0000000Z","ProcessId":6696,"LocalIpAddress":"127.0.0.1:33628","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"62b9e895-d479-b8ce-e6d9-39fb32aa5223","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM74DRAEAC7K:00000002","TimeStamp":"2021-03-11T09:20:09.0000000Z","ProcessId":5220,"LocalIpAddress":"127.0.0.1:32221","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM77GGTQG6IP:00000005","TimeStamp":"2021-03-15T07:43:24.0000000Z","ProcessId":7748,"LocalIpAddress":"127.0.0.1:44035","RemoteIpAddress":"219.92.28.37","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM77GGTQG6IO:00000007","TimeStamp":"2021-03-15T07:43:24.0000000Z","ProcessId":7748,"LocalIpAddress":"127.0.0.1:44035","RemoteIpAddress":"219.92.28.37","$type":"TokenIssuedFailureEvent"}

Separate posting due to exceeding max length

[INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"a5bbea07-f70e-2fc6-1a65-39fb2d65c925","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L54M:00000004","TimeStamp":"2021-03-11T02:52:57.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":"a5bbea07-f70e-2fc6-1a65-39fb2d65c925","Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L54P:00000002","TimeStamp":"2021-03-11T02:54:40.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L54R:00000005","TimeStamp":"2021-03-11T02:54:56.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L54U:00000002","TimeStamp":"2021-03-11T02:59:17.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L550:00000004","TimeStamp":"2021-03-11T03:17:42.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L551:00000003","TimeStamp":"2021-03-11T03:17:56.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L556:00000002","TimeStamp":"2021-03-11T03:19:58.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L559:00000002","TimeStamp":"2021-03-11T03:24:15.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L559:00000006","TimeStamp":"2021-03-11T03:24:23.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM7472U6L55C:00000003","TimeStamp":"2021-03-11T03:24:52.0000000Z","ProcessId":8132,"LocalIpAddress":"127.0.0.1:28106","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747O6LQ34Q:00000004","TimeStamp":"2021-03-11T03:31:02.0000000Z","ProcessId":6808,"LocalIpAddress":"127.0.0.1:45726","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Web","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747O6LQ34T:00000002","TimeStamp":"2021-03-11T03:37:21.0000000Z","ProcessId":6808,"LocalIpAddress":"127.0.0.1:45726","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"} [INF] {"ClientId":"Agent_Swagger","ClientName":null,"RedirectUri":null,"Endpoint":"Authorize","SubjectId":null,"Scopes":"","GrantType":null,"Error":"unauthorized_client","ErrorDescription":"Unknown client or client not enabled","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"0HM747O6LQ34U:00000005","TimeStamp":"2021-03-11T03:37:26.0000000Z","ProcessId":6808,"LocalIpAddress":"127.0.0.1:45726","RemoteIpAddress":"202.187.72.56","$type":"TokenIssuedFailureEvent"}

Is there a way for me to upload file or any support email which I can forward the log file to? The Log file size is quite large at around 44mb.

You can search for [ERR] in the logs and paste latest identity server log lines includes unauthorized_client .

Below logs with [ERR] for your checking. Thanks!

[ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] client_id is missing or too long [ERR] Request validation failed [ERR] client_id is missing or too long [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid redirect_uri: https://abpapidev.azurewebsites.net/agent/swagger/oauth2-redirect.html [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Swagger: AllowedCorsOrigins contains invalid origin: https://abpapidev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Swagger [ERR] Request validation failed [ERR] Invalid client configuration for client Agent_Web: AllowedCorsOrigins contains invalid origin: https://abpdev.azurewebsites.net/agent [ERR] Unknown client or not enabled: Agent_Web [ERR] Request validation failed

Did you check DbMigrator appsettings aswell? Probably they are left with dev settings still which causes dev configuration seeding.

Also, please share the identityserver logs to diagnose better.

Below the settings for identity server for your reference. It was updated prior to the deployment

Is there a way for me to upload file or any support email which I can forward the log file to? The Log file size is quite large at around 44mb.

I am trying to deploy a Tiered MVC into an Azure virtual directory but I am facing the below issue. Does ABP support deployment to Virtual Directory?

Login Redirection Page

Registered Identity Client

Web Settings

API Settings

Identity Server Settings

  • ABP Framework version: v4.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:
Showing 1 to 10 of 10 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06