Skip to content

Custom Claims restricts values to Strings #55

@Levi-Lesches

Description

@Levi-Lesches

Setting custom claims (via Auth.setCustomUserClaims) only allows the user to pass in a Map<String, String>, while the JS equivalent (as well as the official Node.js SDK) allows any value. Isn't it meant to be Map<String, dynamic>? I'm trying to set it to {"isAdmin": true}, but it's not allowed.

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