Starts in:
0 DAY
20 HRS
33 MIN
31 SEC
Starts in:
0 D
20 H
33 M
31 S
Open Closed

Client requested access token - but client is not configured to receive access tokens via browser #1251


User avatar
0
dkuzovenkov created

Hello! I receive error "[11:54:32 ERR] Client requested access token - but client is not configured to receive access tokens via browser" on Auth server, when I try to authorize. How can I set this option in identity server/clients/myclient web interface? I added my client in web interface. Grant type: implicit. I tried in advanced/properties: AllowAccessTokensViaBrowser=true and AccessTokensViaBrowser=true, but it does not work and the error is still exist.


2 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    First of all, implicit flow is deprecated; authorization code with PKCE is the suggested flow. (Here is one of the many related posts if you want to check why.)

    Even if you still want to use implicit flow, error indicates that your client doesn't not have that configuration. Check your database IdentityServerClients table, find your related client and check the [AllowAccessTokensViaBrowser] column if it is true.

    As far as I have checked, IdentityServer Management UI doesn't have this configuration. I'll create an issue related with it.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

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