sveltefire icon indicating copy to clipboard operation
sveltefire copied to clipboard

how to access user claims?

Open OffCorner opened this issue 4 years ago • 0 comments

Hi there, sveltefire looks incredible when it comes to the small amount of code you need for impressive functionality. Unfortunately, i can't find an easy way to get the users claims and display/hide things depending on those. I have a claim called admin and would like to easily access it in svelte. what is the best way around that?

OffCorner avatar Mar 04 '21 00:03 OffCorner