Open Closed

How add one more Blazor client #1472


User avatar
0
maxim@kolychev.msk.ru created

Code was copied from Blazor project Client name changed to new New client was added to identity setver clients via origin blazor porject https://sportoteka.info/

I've always get UNAUTHORIZED_CLIENT error. https://bb.sportoteka.online/

What's wrong?


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I've always get UNAUTHORIZED_CLIEN

    Can you share the details of error? You can check the Identity Server logs.

  • User Avatar
    0
    maxim@kolychev.msk.ru created

    2021-06-14 17:45:38.449 +03:00 [INF] Request starting HTTP/2 GET https://sportoteka.online/connect/authorize?client_id=Sportoteka_LiveBb&redirect_uri=https%3A%2F%2Fbb.sportoteka.online%2Fauthentication%2Flogin-callback&response_type=code&scope=openid%20profile%20Vb%20role%20email%20phone&state=dfcfc475db5a4b6382ac997515a79e91&code_challenge=cCKccOYEqGDvXgrC_zuVtXrhd97VAwiMwn-LCTu7R3c&code_challenge_method=S256&prompt=none&response_mode=query - - 2021-06-14 17:45:38.475 +03:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize 2021-06-14 17:45:38.491 +03:00 [ERR] Invalid client configuration for client Sportoteka_LiveBb: No redirect URI configured. 2021-06-14 17:45:38.491 +03:00 [INF] {"ClientId":"Sportoteka_LiveBb","ClientName":"Sportoteka_LiveBb","Category":"Error","Name":"Invalid Client Configuration","EventType":"Error","Id":3001,"Message":"No redirect URI configured.","ActivityId":"80000041-0000-fc00-b63f-84710c7967bb","TimeStamp":"2021-06-14T14:45:38.0000000Z","ProcessId":17088,"LocalIpAddress":"192.168.76.3:443","RemoteIpAddress":"192.168.76.1","$type":"InvalidClientConfigurationEvent"} 2021-06-14 17:45:38.491 +03:00 [ERR] Unknown client or not enabled: Sportoteka_LiveBb {"ClientId":null,"ClientName":null,"RedirectUri":null,"AllowedRedirectUris":null,"SubjectId":"714fd518-43b8-8b29-fc49-39fac82c1e06","ResponseType":null,"ResponseMode":null,"GrantType":null,"RequestedScopes":"","State":null,"UiLocales":null,"Nonce":null,"AuthenticationContextReferenceClasses":null,"DisplayMode":null,"PromptMode":"","MaxAge":null,"LoginHint":null,"SessionId":null,"Raw":{"client_id":"Sportoteka_LiveBb","redirect_uri":"https://bb.sportoteka.online/authentication/login-callback","response_type":"code","scope":"openid profile Vb role email phone","state":"dfcfc475db5a4b6382ac997515a79e91","code_challenge":"cCKccOYEqGDvXgrC_zuVtXrhd97VAwiMwn-LCTu7R3c","code_challenge_method":"S256","prompt":"none","response_mode":"query"},"$type":"AuthorizeRequestValidationLog"} 2021-06-14 17:45:38.491 +03:00 [ERR] Request validation failed

  • User Avatar
    0
    maxim@kolychev.msk.ru created

    The problem is solved. Thank you

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19