Skip to content

Add a way to disable profile metadata in response "userProfileMetadata" #118

@QuentiumYT

Description

@QuentiumYT

Description

When requesting user data attributes, it would be nice to hide userProfileMetadata in reponse, especially when it's very long. Adding a simple boolean option would be greatly appreciated.
The condition would be in loadUserProfile():

let url = `${realmUrl}/account`;

if (** check noProfileMetadata option **) {
    url += '?userProfileMetadata=false';
}

Discussion

No response

Motivation

I needed to check for profile attributes, and the response was very long. As this information was not specially needed for my frontend app, I think an option to loadUserProfile would be interresting.

Details

Simple way would be to pass loadUserProfile some options as well, or just an argument to make it simple

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions