<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007fUXkwCAGOkta Classic EngineIntegrationsAnswered2022-05-23T21:50:27.000Z2022-05-19T15:59:36.000Z2022-05-23T21:50:27.000Z

EdwardC.73916 (Customer) asked a question.

hasAnyGroups angular directive doesn't return assigned groups

Hi,

I assigned two groups to my application, Read-Only and Read-Write. I am trying to use the hasAnyGroups directive to check which group my user is in an angular app that I wrote. I placed a debug point in the hasAnyGroups(groups) function in okta-angular.js and neither if (idToken.claims[key]) nor const userInfo = yield this.oktaAuth.getUser(); contain any groups. I tried one user who is part of one group and another who is part of another.

 

I using a dev instance of okta if that helps.


This question is closed.
Loading
hasAnyGroups angular directive doesn't return assigned groups