How can we use claims to hanlde role based authentication in a flutter app
473 views
Skip to first unread message
CE You
unread,
Dec 11, 2019, 2:55:11 PM12/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Flutter Development (flutter-dev)
I am developing a flutter app which will be used by three different types of users and want make the app in a way that when ever a user logs in the app should show the relevant UI based on user type. I explored and got a claim based solution (adding a claim in Firebase authentication token) but that seems not working in flutter app. Can any body please tell me what is the best way to handle role based user authentication in flutter, if it the custom claims then how can we use custom claims.
Felix
unread,
Dec 11, 2019, 3:48:09 PM12/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Flutter Development (flutter-dev)
Define the roles and show part of the based on those roles. There is vanilla JavaScript tutorials by the netninja on YouTube. Follow that.