Server side Blazor and retrieving app_metadata

I have my server side Blazor app up and working with Auth0. Now I’m trying to retrieve the app_metadata associated with the user’s login. Many of the posts here and stackoverflow posts I found look like they are based around a way of retrieving it that’s been deprecated. What’s the best way of retrieving this from my app?

Is it ok for you to write a rule for injecting that metadata in the JWT ? I wrote an example in that blog post that injects a tenant id, but you could inject any other data


1 Like

Yes we can use a rule. Thank you for that!! Any idea how to retrieve that data from the server side Blazor app?

Yes, I guess you can use the Management API, which can be used with an access token negotiated server side with Client Credentials Flow

1 Like

Thanks for helping on this thread @cibrax!