Any examples of how to set up role-based authorization with Blazor WASM and ASP.NET Core API?

Not really. But I followed the advice in this post:
https://devforum.okta.com/t/blazor-wasm-net-core-3-1-api-userinfo/11878/2

Basically, it intercepts the token at the API end, reaches out to the Okta API and gets the claims. Then adds those claims. I believe I saved the uid from Okta as the users oktaUserId. Something like that. That’s how I map the users in my db with the ones in Okta.
This works fine but it would be nice to have a more direct way of getting the claims.