{"action":"created","comment":{"url":"https://api.github.com/repos/okta/okta.github.io/pulls/comments/132333388","pull_request_review_id":55402960,"id":132333388,"diff_hunk":"@@ -0,0 +1,132 @@\n+---\n+layout: docs_page\n+title: How to Create a Token with a Groups Claim\n+excerpt: How to create an ID token or access token which contains a groups claim\n+---\n+\n+## How to Create a Token with an Apps Groups Claim\n+\n+Because Okta allows you to specify a profile with whatever JSON-compliant contents you wish, you can create a list of groups that are included in the token\n+in the groups claim. You can add a group claim for any app (Okta, Active Directory, or Workday, for example) into ID tokens or access tokens for API Access Management.","path":"_source/_docs/how-to/creating-token-with-groups-claim.md","position":10,"original_position":10,"commit_id":"96966719d9d07f734d9b5d438206c00e6b9c0723","original_commit_id":"96966719d9d07f734d9b5d438206c00e6b9c0723","user":{"login":"cwu-okta","id":1794602,"avatar_url":"https://avatars1.githubusercontent.com/u/1794602?v=4","gravatar_id":"","url":"https://api.github.com/users/cwu-okta","html_url":"https://github.com/cwu-okta","followers_url":"https://api.github.com/users/cwu-okta/followers","following_url":"https://api.github.com/users/cwu-okta/following{/other_user}","gists_url":"https://api.github.com/users/cwu-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/cwu-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwu-okta/subscriptions","organizations_url":"https://api.github.com/users/cwu-okta/orgs","repos_url":"https://api.github.com/users/cwu-okta/repos","events_url":"https://api.github.com/users/cwu-okta/events{/privacy}","received_events_url":"https://api.github.com/users/cwu-okta/received_events","type":"User","site_admin":false},"body":"Okta is not an app. It would be better to omit Okta from the list of example 'apps'.\r\n\r\nSince you are trying to convey User Groups can also be added to claims I suggest rewording to \r\n```You can add a group claim for any app (Active Directory, or Workday, for example) or user group into ID tokens or access tokens for API Access Management.```","created_at":"2017-08-09T23:36:13Z","updated_at":"2017-08-09T23:54:55Z","html_url":"https://github.com/okta/okta.github.io/pull/1143#discussion_r132333388","pull_request_url":"https://api.github.com/repos/okta/okta.github.io/pulls/1143","_links":{"self":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/comments/132333388"},"html":{"href":"https://github.com/okta/okta.github.io/pull/1143#discussion_r132333388"},"pull_request":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/1143"}}},"pull_request":{"url":"https://api.github.com/repos/okta/okta.github.io/pulls/1143","id":134778890,"html_url":"https://github.com/okta/okta.github.io/pull/1143","diff_url":"https://github.com/okta/okta.github.io/pull/1143.diff","patch_url":"https://github.com/okta/okta.github.io/pull/1143.patch","issue_url":"https://api.github.com/repos/okta/okta.github.io/issues/1143","number":1143,"state":"open","locked":false,"title":"How to create an ID token with a groups claim","user":{"login":"mystiberry-okta","id":17009066,"avatar_url":"https://avatars2.githubusercontent.com/u/17009066?v=4","gravatar_id":"","url":"https://api.github.com/users/mystiberry-okta","html_url":"https://github.com/mystiberry-okta","followers_url":"https://api.github.com/users/mystiberry-okta/followers","following_url":"https://api.github.com/users/mystiberry-okta/following{/other_user}","gists_url":"https://api.github.com/users/mystiberry-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/mystiberry-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mystiberry-okta/subscriptions","organizations_url":"https://api.github.com/users/mystiberry-okta/orgs","repos_url":"https://api.github.com/users/mystiberry-okta/repos","events_url":"https://api.github.com/users/mystiberry-okta/events{/privacy}","received_events_url":"https://api.github.com/users/mystiberry-okta/received_events","type":"User","site_admin":false},"body":"## Description:\r\n- How to create an ID token with a groups claim\r\n\r\n### Resolves:\r\n [OKTA-134219](https://oktainc.atlassian.net/browse/OKTA-134219)\r\n\r\n","created_at":"2017-08-08T23:13:43Z","updated_at":"2017-08-09T23:54:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ebd9553989ac44feb41cbc7901a801d6fc9efa5","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/okta/okta.github.io/pulls/1143/commits","review_comments_url":"https://api.github.com/repos/okta/okta.github.io/pulls/1143/comments","review_comment_url":"https://api.github.com/repos/okta/okta.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okta/okta.github.io/issues/1143/comments","statuses_url":"https://api.github.com/repos/okta/okta.github.io/statuses/96966719d9d07f734d9b5d438206c00e6b9c0723","head":{"label":"okta:dok-134219","ref":"dok-134219","sha":"96966719d9d07f734d9b5d438206c00e6b9c0723","user":{"login":"okta","id":362460,"avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"repo":{"id":10953058,"name":"okta.github.io","full_name":"okta/okta.github.io","owner":{"login":"okta","id":362460,"avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okta/okta.github.io","description":"Okta Identity Platform API Docs and Developer Home","fork":false,"url":"https://api.github.com/repos/okta/okta.github.io","forks_url":"https://api.github.com/repos/okta/okta.github.io/forks","keys_url":"https://api.github.com/repos/okta/okta.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okta/okta.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okta/okta.github.io/teams","hooks_url":"https://api.github.com/repos/okta/okta.github.io/hooks","issue_events_url":"https://api.github.com/repos/okta/okta.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/okta/okta.github.io/events","assignees_url":"https://api.github.com/repos/okta/okta.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/okta/okta.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/okta/okta.github.io/tags","blobs_url":"https://api.github.com/repos/okta/okta.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okta/okta.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okta/okta.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/okta/okta.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okta/okta.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/okta/okta.github.io/languages","stargazers_url":"https://api.github.com/repos/okta/okta.github.io/stargazers","contributors_url":"https://api.github.com/repos/okta/okta.github.io/contributors","subscribers_url":"https://api.github.com/repos/okta/okta.github.io/subscribers","subscription_url":"https://api.github.com/repos/okta/okta.github.io/subscription","commits_url":"https://api.github.com/repos/okta/okta.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/okta/okta.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/okta/okta.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/okta/okta.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/okta/okta.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/okta/okta.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okta/okta.github.io/merges","archive_url":"https://api.github.com/repos/okta/okta.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okta/okta.github.io/downloads","issues_url":"https://api.github.com/repos/okta/okta.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/okta/okta.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/okta/okta.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/okta/okta.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okta/okta.github.io/labels{/name}","releases_url":"https://api.github.com/repos/okta/okta.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/okta/okta.github.io/deployments","created_at":"2013-06-25T23:22:38Z","updated_at":"2017-08-05T10:03:35Z","pushed_at":"2017-08-09T22:49:11Z","git_url":"git://github.com/okta/okta.github.io.git","ssh_url":"git@github.com:okta/okta.github.io.git","clone_url":"https://github.com/okta/okta.github.io.git","svn_url":"https://github.com/okta/okta.github.io","homepage":"http://developer.okta.com/","size":96923,"stargazers_count":23,"watchers_count":23,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":79,"mirror_url":null,"open_issues_count":26,"forks":79,"open_issues":26,"watchers":23,"default_branch":"master"}},"base":{"label":"okta:weekly","ref":"weekly","sha":"52ce8db0c35bc7db57152ea72d93bc65f9c60916","user":{"login":"okta","id":362460,"avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"repo":{"id":10953058,"name":"okta.github.io","full_name":"okta/okta.github.io","owner":{"login":"okta","id":362460,"avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okta/okta.github.io","description":"Okta Identity Platform API Docs and Developer Home","fork":false,"url":"https://api.github.com/repos/okta/okta.github.io","forks_url":"https://api.github.com/repos/okta/okta.github.io/forks","keys_url":"https://api.github.com/repos/okta/okta.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okta/okta.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okta/okta.github.io/teams","hooks_url":"https://api.github.com/repos/okta/okta.github.io/hooks","issue_events_url":"https://api.github.com/repos/okta/okta.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/okta/okta.github.io/events","assignees_url":"https://api.github.com/repos/okta/okta.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/okta/okta.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/okta/okta.github.io/tags","blobs_url":"https://api.github.com/repos/okta/okta.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okta/okta.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okta/okta.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/okta/okta.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okta/okta.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/okta/okta.github.io/languages","stargazers_url":"https://api.github.com/repos/okta/okta.github.io/stargazers","contributors_url":"https://api.github.com/repos/okta/okta.github.io/contributors","subscribers_url":"https://api.github.com/repos/okta/okta.github.io/subscribers","subscription_url":"https://api.github.com/repos/okta/okta.github.io/subscription","commits_url":"https://api.github.com/repos/okta/okta.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/okta/okta.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/okta/okta.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/okta/okta.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/okta/okta.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/okta/okta.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okta/okta.github.io/merges","archive_url":"https://api.github.com/repos/okta/okta.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okta/okta.github.io/downloads","issues_url":"https://api.github.com/repos/okta/okta.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/okta/okta.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/okta/okta.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/okta/okta.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okta/okta.github.io/labels{/name}","releases_url":"https://api.github.com/repos/okta/okta.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/okta/okta.github.io/deployments","created_at":"2013-06-25T23:22:38Z","updated_at":"2017-08-05T10:03:35Z","pushed_at":"2017-08-09T22:49:11Z","git_url":"git://github.com/okta/okta.github.io.git","ssh_url":"git@github.com:okta/okta.github.io.git","clone_url":"https://github.com/okta/okta.github.io.git","svn_url":"https://github.com/okta/okta.github.io","homepage":"http://developer.okta.com/","size":96923,"stargazers_count":23,"watchers_count":23,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":79,"mirror_url":null,"open_issues_count":26,"forks":79,"open_issues":26,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/1143"},"html":{"href":"https://github.com/okta/okta.github.io/pull/1143"},"issue":{"href":"https://api.github.com/repos/okta/okta.github.io/issues/1143"},"comments":{"href":"https://api.github.com/repos/okta/okta.github.io/issues/1143/comments"},"review_comments":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/1143/comments"},"review_comment":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/1143/commits"},"statuses":{"href":"https://api.github.com/repos/okta/okta.github.io/statuses/96966719d9d07f734d9b5d438206c00e6b9c0723"}}}}
{"actor":{"display_login":"cwu-okta"}}