Starts in:
0 DAY
15 HRS
40 MIN
10 SEC
Starts in:
0 D
15 H
40 M
10 S
Open Closed

The 'ClientType' column value in the 'OpenIddictApplications' table is automatically updated to 'confidential' after being set to 'public'. #8304


User avatar
0
Repunjay_TASC created

The "ClientType" column in the "OpenIddictApplications" table was initially set to "confidential" and after that you update value as "public", Then Angular application was able to successfully redirect.

However, I have notice after some time, this value automatically changed to "confidential". I have cross-checked the application but was unable to find where the value is being set.

Can you please suggest how I can fix this issue?


5 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    ABP won't change it programmatically unless you change it in the openiddict UI

  • User Avatar
    0
    Repunjay_TASC created

    ok let me cross check.

    Thanks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    okay

  • User Avatar
    0
    Repunjay_TASC created

    Hi, The 'ClientType' column in the 'OpenIddictApplications' table was initially set to 'confidential,' and after that, I updated the value to 'public.' as per suggestion your team member, Then the SSO OIDC integration started working as expected.

    After implementing the above changes and using the first approach for login (https://abp.io/qa/questions/8314/3a165a05-dbd3-f94a-bfce-8c0d04ddfc56), I am facing an issue while generating the token. If I revert ClientType: "public" to "confidential", I am able to generate the token.

    How can I handle this issue for both login approaches? Are any additional changes required?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    you don't need to pass client_secret parameter if client is public, remove it from the HTTP request body.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06