Skip to content

[Bug]: currentuser ANONYMOUS for logged in user. #1999

@placidic

Description

@placidic

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using an oAuth IDP using the Generic provider option, The authenticated users IDP properties are available for viewing and access within the currentuser > extras property.

Upon upgrading to the latest version 2.7.4, It appears that there is a 500 error on the underlying call to retrieve the /currentuser information from the API, resulting in the currentuser object being populated as an ANONYMOUS user.

This is a major bug for any applications that utilize the currentuser information directly within their app.

Expected Behavior

The /currentuser call to return successfully with the extended IDP information for the logged in user.

Steps to reproduce

  1. Start version 2.6.5 lowcoder
  2. Set up IDP Generic oAuth
  3. Log in and verify currentUser Response
  4. Upgrade to tag 2.7.4
  5. Log in and see that currentuser call fails and ANONYMOUS is returned

Environment

Lowcoder 2.7.4 multi

Additional Information

Tested on the latest 'dev' image as well to same outcome. Did not test on versions 2.7.0 - 2.7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions