Login Failure Caused by Token Reading Failure

  • Last update:November 08, 2024
  • Overview

    Version

    FineBI Version
    Functional Change

    6.0

    /

    Problem

    The error message indicating that the login information has expired (error code: 21300019) is displayed during login.

    Cause

    After items such as HttpOnly and the domain name are set in the project environment, the frontend cannot read the token from the cookie. Thus, the token cannot be written into the header.

    If you perform login operations such as cross-domain login or background SSO, the login is unsuccessful because the backend fails to read the token for identity validation.

    Solution

    The super admin can set ServerConfig.tokenFromCookie in the fine_conf_entity table to true and restart the server.

    For details about how to modify field values in FineDB databases, see FINE_CONF_ENTITY Visualization Configuration.

    The following table describes the parameters and corresponding values.

    Parameter NameParameter Value

    ServerConfig.tokenFromCookie

    The parameter value must be of the Boolean type. The default value is false.

    • False (default value): Tokens cannot be retrieved from cookies during the backend token validation.

    • True: Tokens can be retrieved from cookies during the backend token validation.



    附件列表


    主题: 隐藏by Chauvet
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    9s后關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy