.net 4.7 authorization?

trying out okta and see code example for mvc, but couldn’t find example on how to filter by role? example only allow user in group = “Admin”. can someone point me to right direction

app.UseOktaMvc(new OktaMvcOptions()
OktaDomain = ConfigurationManager.AppSettings[“okta:OktaDomain”],
ClientId = ConfigurationManager.AppSettings[“okta:ClientId”],
ClientSecret = ConfigurationManager.AppSettings[“okta:ClientSecret”],
RedirectUri = ConfigurationManager.AppSettings[“okta:RedirectUri”],
PostLogoutRedirectUri = ConfigurationManager.AppSettings[“okta:PostLogoutRedirectUri”],
GetClaimsFromUserInfoEndpoint = true,
Scope = new List {“openid”, “profile”, “email”},

[Authorize(Roles =“Admin”)]
public ActionResult Profile()
return View(HttpContext.GetOwinContext().Authentication.User.Claims);