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
    Support Team 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 v8.2.0-preview Updated on March 25, 2024, 15:11