You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: domains in apiversion call
* fix: boxy validation
* fix: IncludeInNonPublicTenantsByDefault in provider input
* fix: test server for backend-sdk-testing
* fix: thirdparty and multitenancy
* fix: jwks url fix
* fix: jwks cache and test fixes
* fix: changelog and version
* fix: circle ci
* fix: generateConfig
* fix: update circle ci image
* fix: go script
* fix: go install
* fix: go version
* fix: go.mod
* fix: circle ci script restore
* fix: pre commit
* fix: pre commit
* fix: pre commit
* fix: pr comment
* fix: pr comment
* fix: pr comment
* fix: pre commit
* fix: pre commit
* fix: pre commit
* fix: pre commit
* fix: not exposing new session function used in test server
* fix: pr comments
* fix: pre commit hook
* fix: contributing
echo"fetching latest X.Y version for core given core-driver-interface X.Y version: $coreDriverVersion, planType: FREE gave response: $coreFree. Please make sure all relevant cores have been pushed."
# When using actions/checkout in a custom container, the directory is not treated as a git repo and does not have a .git directory, therefore we need to initialize it as a git repo. This will allows us to track changes made after go mod tidy runs
Copy file name to clipboardExpand all lines: CHANGELOG.md
+127Lines changed: 127 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,133 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [unreleased]
9
9
10
+
## [0.24.0] - 2024-07-29
11
+
12
+
### Changes
13
+
14
+
- Adds test server for `backend-sdk-testing`
15
+
- Sends `websiteDomain` and `apiDomain` to core for telemetry.
16
+
-`boxyURL` is no more mandatory input in `additionalConfig` while adding boxy-saml provider in thirdParty.
17
+
- Adds `JWKSRefreshIntervalSec` config to `sessmodels.TypeInput` to set the default JWKS cache duration. The default is 4 hours.
18
+
19
+
20
+
### Breaking changes
21
+
22
+
- Updates `NetworkInterceptor` function signature to return `error` along with `*http.Request`
23
+
- SDK will no longer add `.well-known/openid-configuration` to the `OIDCDiscoveryEndpoint` config in thirdParty providers. If you have specified any custom `OIDCDiscoveryEndpoint` in the ThirdParty.init or added to the core, please make sure to update them to include `.well-known/openid-configuration`.
24
+
- For a non-public tenant, when there are no providers added in the core, the SDK used to fallback to the providers added in the ThirdParty.init. Now, the SDK will not fallback to the providers added in the ThirdParty.init by default. If you require a thirdparty provider to be available for non-public tenants, you can make it available by setting `IncludeInNonPublicTenantsByDefault` for each of the providers. See the migration section below to see how to do this. Note that this only affects non-public tenants when there are no providers added in core.
25
+
26
+
### Migration
27
+
28
+
#### Make providers available in non-public tenants by default
29
+
30
+
To make all the providers added in the ThirdParty.init available for non-public tenants by default,
// Add the following line to make this provider available in non-public tenants by default
68
+
IncludeInNonPublicTenantsByDefault: true,
69
+
},
70
+
{
71
+
Config: tpmodels.ProviderConfig{
72
+
ThirdPartyId: "github",
73
+
// rest of the config
74
+
},
75
+
76
+
// Add the following line to make this provider available in non-public tenants by default
77
+
IncludeInNonPublicTenantsByDefault: true,
78
+
},
79
+
},
80
+
},
81
+
})
82
+
```
83
+
84
+
#### Migrating `oidcDiscoveryEndpoint` in core (for custom providers only):
85
+
86
+
For each tenant, do the following
87
+
88
+
1. GET `/appid-<appId>/<tenantId>/recipe/multitenancy/tenant/v2`
89
+
90
+
You should see the thirdParty providers in the response using `response.thirdParty.providers`
91
+
92
+
2. For each config in providers list, if you have `oidcDiscoveryEndpoint` in the config, update it to include `.well-known/openid-configuration` at the end.
93
+
94
+
Here's a sample code snippet to update the `oidcDiscoveryEndpoint`:
0 commit comments