Skip to content

Feature request: Provide a get roles function on frontend hooks #340

@brandanking-decently

Description

@brandanking-decently

Prerequisites

What is the problem you’re trying to solve?

There is an inconsistency between the getKindeServerSession and useKindeAuth hooks where getting roles is not the same.

What solution would you like to see?

It would be great for the frontend hooks to also provide a getRoles hook with the same return type as the server function

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions