Skip to content

Commit 2fb869e

Browse files
authored
Feat/remove redirect requirement (#72)
* chore(deps): Update dependencies * feat(redirect_uri): allow empty lists for redirect uris * Update Readme
1 parent 40c3cae commit 2fb869e

File tree

6 files changed

+201
-163
lines changed

6 files changed

+201
-163
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Terraform Provider for Cidaas
22

3-
![GoLang](https://img.shields.io/badge/golang-1.19-blue)
3+
![GoLang](https://img.shields.io/badge/golang-1.21-blue)
44
![GitHub](https://img.shields.io/github/license/real-digital/terraform-provider-cidaas)
55

66
Terraform provider to manage and read resources from cidaas instances.

docs/data-sources/custom_provider.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "cidaas_custom_provider Data Source - terraform-provider-cidaas"
4+
subcategory: ""
5+
description: |-
6+
Allows reading custom login providers that are configured
7+
---
8+
9+
# cidaas_custom_provider (Data Source)
10+
11+
Allows reading custom login providers that are configured
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `provider_name` (String)
21+
22+
### Read-Only
23+
24+
- `display_name` (String)

docs/resources/app.md

+11
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ description: |-
1717

1818
### Required
1919

20+
- `accept_roles_in_the_registration` (Boolean)
2021
- `additional_access_token_payload` (List of String)
2122
- `allow_disposable_email` (Boolean) If set, emails generated by throwaway email providers can be used for signup
2223
- `allow_guest_login` (Boolean)
@@ -33,6 +34,7 @@ description: |-
3334
- `company_name` (String)
3435
- `company_website` (String)
3536
- `consent_refs` (List of String)
37+
- `custom_providers` (Attributes List) (see [below for nested schema](#nestedatt--custom_providers))
3638
- `email_verification_required` (Boolean)
3739
- `enable_bot_detection` (Boolean)
3840
- `enable_deduplication` (Boolean)
@@ -74,6 +76,15 @@ description: |-
7476
- `client_secret` (String, Sensitive)
7577
- `id` (String) The ID of this resource.
7678

79+
<a id="nestedatt--custom_providers"></a>
80+
### Nested Schema for `custom_providers`
81+
82+
Required:
83+
84+
- `display_name` (String)
85+
- `provider_name` (String)
86+
87+
7788
<a id="nestedatt--social_providers"></a>
7889
### Nested Schema for `social_providers`
7990

go.mod

+37-29
Original file line numberDiff line numberDiff line change
@@ -5,62 +5,70 @@ go 1.21
55
toolchain go1.21.6
66

77
require (
8-
github.com/hashicorp/terraform-plugin-docs v0.16.0
9-
github.com/hashicorp/terraform-plugin-framework v1.6.1
8+
github.com/hashicorp/terraform-plugin-docs v0.19.4
9+
github.com/hashicorp/terraform-plugin-framework v1.9.0
1010
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0
1111
github.com/hashicorp/terraform-plugin-log v0.9.0
12-
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
12+
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8
1313
)
1414

1515
require (
16+
github.com/BurntSushi/toml v1.2.1 // indirect
17+
github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect
1618
github.com/Masterminds/goutils v1.1.1 // indirect
17-
github.com/Masterminds/semver/v3 v3.1.1 // indirect
18-
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
19-
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
20-
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
19+
github.com/Masterminds/semver/v3 v3.2.0 // indirect
20+
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
21+
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect
22+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
2123
github.com/armon/go-radix v1.0.0 // indirect
2224
github.com/bgentry/speakeasy v0.1.0 // indirect
23-
github.com/cloudflare/circl v1.3.3 // indirect
24-
github.com/fatih/color v1.16.0 // indirect
25+
github.com/bmatcuk/doublestar/v4 v4.6.1 // indirect
26+
github.com/cloudflare/circl v1.3.7 // indirect
27+
github.com/fatih/color v1.17.0 // indirect
2528
github.com/golang/protobuf v1.5.4 // indirect
2629
github.com/google/uuid v1.6.0 // indirect
30+
github.com/hashicorp/cli v1.1.6 // indirect
2731
github.com/hashicorp/errwrap v1.1.0 // indirect
2832
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
2933
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
30-
github.com/hashicorp/go-hclog v1.6.2 // indirect
34+
github.com/hashicorp/go-hclog v1.6.3 // indirect
3135
github.com/hashicorp/go-multierror v1.1.1 // indirect
32-
github.com/hashicorp/go-plugin v1.6.0 // indirect
36+
github.com/hashicorp/go-plugin v1.6.1 // indirect
3337
github.com/hashicorp/go-uuid v1.0.3 // indirect
34-
github.com/hashicorp/go-version v1.6.0 // indirect
35-
github.com/hashicorp/hc-install v0.5.2 // indirect
36-
github.com/hashicorp/terraform-exec v0.18.1 // indirect
37-
github.com/hashicorp/terraform-json v0.17.1 // indirect
38-
github.com/hashicorp/terraform-plugin-go v0.22.1 // indirect
38+
github.com/hashicorp/go-version v1.7.0 // indirect
39+
github.com/hashicorp/hc-install v0.7.0 // indirect
40+
github.com/hashicorp/terraform-exec v0.21.0 // indirect
41+
github.com/hashicorp/terraform-json v0.22.1 // indirect
42+
github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect
3943
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
4044
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
4145
github.com/hashicorp/yamux v0.1.1 // indirect
42-
github.com/huandu/xstrings v1.3.2 // indirect
43-
github.com/imdario/mergo v0.3.13 // indirect
46+
github.com/huandu/xstrings v1.3.3 // indirect
47+
github.com/imdario/mergo v0.3.15 // indirect
4448
github.com/mattn/go-colorable v0.1.13 // indirect
4549
github.com/mattn/go-isatty v0.0.20 // indirect
46-
github.com/mitchellh/cli v1.1.5 // indirect
50+
github.com/mattn/go-runewidth v0.0.9 // indirect
4751
github.com/mitchellh/copystructure v1.2.0 // indirect
4852
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
4953
github.com/mitchellh/reflectwalk v1.0.2 // indirect
5054
github.com/oklog/run v1.1.0 // indirect
5155
github.com/posener/complete v1.2.3 // indirect
52-
github.com/russross/blackfriday v1.6.0 // indirect
5356
github.com/shopspring/decimal v1.3.1 // indirect
5457
github.com/spf13/cast v1.5.0 // indirect
5558
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
5659
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
57-
github.com/zclconf/go-cty v1.13.2 // indirect
58-
golang.org/x/crypto v0.21.0 // indirect
59-
golang.org/x/mod v0.15.0 // indirect
60-
golang.org/x/net v0.22.0 // indirect
61-
golang.org/x/sys v0.18.0 // indirect
62-
golang.org/x/text v0.14.0 // indirect
63-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect
64-
google.golang.org/grpc v1.62.1 // indirect
65-
google.golang.org/protobuf v1.33.0 // indirect
60+
github.com/yuin/goldmark v1.7.1 // indirect
61+
github.com/yuin/goldmark-meta v1.1.0 // indirect
62+
github.com/zclconf/go-cty v1.14.4 // indirect
63+
go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect
64+
golang.org/x/crypto v0.24.0 // indirect
65+
golang.org/x/mod v0.18.0 // indirect
66+
golang.org/x/net v0.26.0 // indirect
67+
golang.org/x/sys v0.21.0 // indirect
68+
golang.org/x/text v0.16.0 // indirect
69+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect
70+
google.golang.org/grpc v1.64.0 // indirect
71+
google.golang.org/protobuf v1.34.1 // indirect
72+
gopkg.in/yaml.v2 v2.3.0 // indirect
73+
gopkg.in/yaml.v3 v3.0.1 // indirect
6674
)

0 commit comments

Comments
 (0)