Skip to content

Commit

Permalink
Allow JWT authorization grant type (#11)
Browse files Browse the repository at this point in the history
* Allow bearer profile grant type

* Bump golangci-lint version
  • Loading branch information
jgraeger authored May 23, 2023
1 parent 06516b4 commit 6976922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.46.2
version: v1.51.2
- name: Run services
run: docker-compose up -d
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_oauth2_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if either is included, both MUST be.`,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{
"refresh_token", "authorization_code", "client_credentials", "implicit",
"refresh_token", "authorization_code", "client_credentials", "implicit", "urn:ietf:params:oauth:grant-type:jwt-bearer",
}, false),
},
},
Expand Down

0 comments on commit 6976922

Please sign in to comment.