Solution to GitHub CLI 'GraphQL error: Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization.'
1 min read
Ran a gh clone today and got this:
GraphQL error: Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization.
```text
Fixed it by running:
```bash
gh auth refreshShare: