# \#mgmt

**URL:** https://devforum.okta.com/tag/mgmt/64.md

[Latest](https://devforum.okta.com/latest.md) · [Categories](https://devforum.okta.com/categories.md) · [Tags](https://devforum.okta.com/tags.md)

---

## [How to instantiate a \`Group\` in unit tests?](https://devforum.okta.com/t/how-to-instantiate-a-group-in-unit-tests/29821)

<div class="topic-metadata">

**Author:** [@aymeric.bouzy](https://devforum.okta.com/u/aymeric.bouzy)\
**Replies:** 1\
**Last updated:** [August 16, 2024, 5:49am UTC](https://devforum.okta.com/t/how-to-instantiate-a-group-in-unit-tests/29821 "2024-08-16T05:49:45Z")

</div>

I’m trying to unit test my use of the Okta .NET SDK, in particular the group API. I’m mocking the output of the ListGroups, but new Group() instantiates a group that has no Id property. In real-life scenarios, all group…

---

## [How to get the scope of access token using golang sdk](https://devforum.okta.com/t/how-to-get-the-scope-of-access-token-using-golang-sdk/29818)

<div class="topic-metadata">

**Author:** [@hashimjaved](https://devforum.okta.com/u/hashimjaved)\
**Replies:** 1\
**Last updated:** [August 6, 2024, 3:47pm UTC](https://devforum.okta.com/t/how-to-get-the-scope-of-access-token-using-golang-sdk/29818 "2024-08-06T15:47:09Z")

</div>

I created an access token using okta console and I use that token to fetch information in my golang app using okta go sdk(okta-sdk-golang/v2/okta). What I want to know is that given I have a token what permission that to…
