Skip to content

ALS customizations to extract group membership from ORCID fail if there are no groups #4

Description

@GBirkel

If a user tries to log in via OIDC / ORCID and succeeds, but the fetch of group membership from the ALS server ( e.g. https://api1-prd.als.lbl.gov:8083/api/v1/users/0000-00... ) returns an empty array, the code throws an exception that invalidates the login result.

Instead the code should set group membership as blank, and continue on the success path.

Image
Image

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