From 49bd46af8adfe5f24d8b435ab5d8da9c74cbea95 Mon Sep 17 00:00:00 2001 From: Joe DeCock Date: Tue, 12 Nov 2024 16:39:54 -0600 Subject: [PATCH] Use demo.duendesoftware.com everywhere --- FOSS/content/IdentityModel.OidcClient/automatic.md | 2 +- FOSS/content/IdentityModel.OidcClient/manual.md | 2 +- FOSS/content/IdentityModel/endpoints/device_authorize.md | 2 +- FOSS/content/IdentityModel/endpoints/discovery.md | 8 ++++---- FOSS/content/IdentityModel/endpoints/general_usage.md | 6 +++--- FOSS/content/IdentityModel/endpoints/introspection.md | 2 +- FOSS/content/IdentityModel/endpoints/revocation.md | 2 +- FOSS/content/IdentityModel/endpoints/token.md | 6 +++--- FOSS/content/IdentityModel/utils/request_url.md | 2 +- FOSS/outtakes/aspnetcore/web.md | 8 ++++---- FOSS/outtakes/aspnetcore/worker.md | 6 +++--- .../v5/docs/content/reference/endpoints/discovery.md | 2 +- .../v6/docs/content/reference/endpoints/discovery.md | 2 +- .../v7/docs/content/reference/endpoints/discovery.md | 2 +- 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/FOSS/content/IdentityModel.OidcClient/automatic.md b/FOSS/content/IdentityModel.OidcClient/automatic.md index 60fbee82..c2707483 100644 --- a/FOSS/content/IdentityModel.OidcClient/automatic.md +++ b/FOSS/content/IdentityModel.OidcClient/automatic.md @@ -11,7 +11,7 @@ interface: ``` var options = new OidcClientOptions { - Authority = "https://demo.identityserver.io", + Authority = "https://demo.duendesoftware.com", ClientId = "native", RedirectUri = redirectUri, Scope = "openid profile api", diff --git a/FOSS/content/IdentityModel.OidcClient/manual.md b/FOSS/content/IdentityModel.OidcClient/manual.md index 99a5a740..d0e8703b 100644 --- a/FOSS/content/IdentityModel.OidcClient/manual.md +++ b/FOSS/content/IdentityModel.OidcClient/manual.md @@ -10,7 +10,7 @@ browser you want to use, e.g.: ``` var options = new OidcClientOptions { - Authority = "https://demo.identityserver.io", + Authority = "https://demo.duendesoftware.com", ClientId = "native", RedirectUri = redirectUri, Scope = "openid profile api" diff --git a/FOSS/content/IdentityModel/endpoints/device_authorize.md b/FOSS/content/IdentityModel/endpoints/device_authorize.md index 07e789bd..636aadfb 100644 --- a/FOSS/content/IdentityModel/endpoints/device_authorize.md +++ b/FOSS/content/IdentityModel/endpoints/device_authorize.md @@ -14,7 +14,7 @@ var client = new HttpClient(); var response = await client.RequestDeviceAuthorizationAsync(new DeviceAuthorizationRequest { - Address = "https://demo.identityserver.io/connect/device_authorize", + Address = "https://demo.duendesoftware.com/connect/device_authorize", ClientId = "device" }); ``` diff --git a/FOSS/content/IdentityModel/endpoints/discovery.md b/FOSS/content/IdentityModel/endpoints/discovery.md index 6eb5f3e8..0640c99d 100644 --- a/FOSS/content/IdentityModel/endpoints/discovery.md +++ b/FOSS/content/IdentityModel/endpoints/discovery.md @@ -18,7 +18,7 @@ Example: ``` var client = new HttpClient(); -var disco = await client.GetDiscoveryDocumentAsync("https://demo.identityserver.io"); +var disco = await client.GetDiscoveryDocumentAsync("https://demo.duendesoftware.com"); if (disco.IsError) throw new Exception(disco.Error); ``` @@ -67,7 +67,7 @@ All of the standard validation rules can be modified using the ``` var disco = await client.GetDiscoveryDocumentAsync(new DiscoveryDocumentRequest { - Address = "https://demo.identityserver.io", + Address = "https://demo.duendesoftware.com", Policy = { ValidateIssuerName = false @@ -82,7 +82,7 @@ comparison uses ordinal string comparison. To switch to Uri comparison: ``` var disco = await client.GetDiscoveryDocumentAsync(new DiscoveryDocumentRequest { - Address = "https://demo.identityserver.io", + Address = "https://demo.duendesoftware.com", Policy = { AuthorityValidationStrategy = new AuthorityUrlValidationStrategy() @@ -104,7 +104,7 @@ The following code will set-up the cache, retrieve the document the first time it is needed, and then cache it for 24 hours: ``` -var cache = new DiscoveryCache("https://demo.identityserver.io"); +var cache = new DiscoveryCache("https://demo.duendesoftware.com"); ``` You can then access the document like this: diff --git a/FOSS/content/IdentityModel/endpoints/general_usage.md b/FOSS/content/IdentityModel/endpoints/general_usage.md index 0c792dbf..43ffcd91 100644 --- a/FOSS/content/IdentityModel/endpoints/general_usage.md +++ b/FOSS/content/IdentityModel/endpoints/general_usage.md @@ -27,7 +27,7 @@ grant type: ```cs var request = new ClientCredentialsTokenRequest { - Address = "https://demo.identityserver.io/connect/token", + Address = "https://demo.duendesoftware.com/connect/token", ClientId = "client", ClientSecret = "secret" }; @@ -69,7 +69,7 @@ var client = new HttpClient(); var response = await client.RequestClientCredentialsTokenAsync( new ClientCredentialsTokenRequest { - Address = "https://demo.identityserver.io/connect/token", + Address = "https://demo.duendesoftware.com/connect/token", ClientId = "client", ClientSecret = "secret" }); @@ -84,7 +84,7 @@ var client = HttpClientFactory.CreateClient("my_named_token_client"); var response = await client.RequestClientCredentialsTokenAsync( new ClientCredentialsTokenRequest { - Address = "https://demo.identityserver.io/connect/token", + Address = "https://demo.duendesoftware.com/connect/token", ClientId = "client", ClientSecret = "secret" }); diff --git a/FOSS/content/IdentityModel/endpoints/introspection.md b/FOSS/content/IdentityModel/endpoints/introspection.md index a4bf127d..8ee841e2 100644 --- a/FOSS/content/IdentityModel/endpoints/introspection.md +++ b/FOSS/content/IdentityModel/endpoints/introspection.md @@ -14,7 +14,7 @@ var client = new HttpClient(); var response = await client.IntrospectTokenAsync(new TokenIntrospectionRequest { - Address = "https://demo.identityserver.io/connect/introspect", + Address = "https://demo.duendesoftware.com/connect/introspect", ClientId = "api1", ClientSecret = "secret", diff --git a/FOSS/content/IdentityModel/endpoints/revocation.md b/FOSS/content/IdentityModel/endpoints/revocation.md index 72696c96..3c681ac6 100644 --- a/FOSS/content/IdentityModel/endpoints/revocation.md +++ b/FOSS/content/IdentityModel/endpoints/revocation.md @@ -15,7 +15,7 @@ var client = new HttpClient(); var result = await client.RevokeTokenAsync(new TokenRevocationRequest { - Address = "https://demo.identityserver.io/connect/revocation", + Address = "https://demo.duendesoftware.com/connect/revocation", ClientId = "client", ClientSecret = "secret", diff --git a/FOSS/content/IdentityModel/endpoints/token.md b/FOSS/content/IdentityModel/endpoints/token.md index 2499eeb3..359ec498 100644 --- a/FOSS/content/IdentityModel/endpoints/token.md +++ b/FOSS/content/IdentityModel/endpoints/token.md @@ -25,7 +25,7 @@ var client = new HttpClient(); var response = await client.RequestTokenAsync(new TokenRequest { - Address = "https://demo.identityserver.io/connect/token", + Address = "https://demo.duendesoftware.com/connect/token", GrantType = "custom", ClientId = "client", @@ -63,7 +63,7 @@ properties for the *client_credentials* grant type: ``` var response = await client.RequestClientCredentialsTokenAsync(new ClientCredentialsTokenRequest { - Address = "https://demo.identityserver.io/connect/token", + Address = "https://demo.duendesoftware.com/connect/token", ClientId = "client", ClientSecret = "secret", @@ -80,7 +80,7 @@ for the *password* grant type: ``` var response = await client.RequestPasswordTokenAsync(new PasswordTokenRequest { - Address = "https://demo.identityserver.io/connect/token", + Address = "https://demo.duendesoftware.com/connect/token", ClientId = "client", ClientSecret = "secret", diff --git a/FOSS/content/IdentityModel/utils/request_url.md b/FOSS/content/IdentityModel/utils/request_url.md index 662f4546..54efa804 100644 --- a/FOSS/content/IdentityModel/utils/request_url.md +++ b/FOSS/content/IdentityModel/utils/request_url.md @@ -82,7 +82,7 @@ public static string CreateAuthorizeUrl(this RequestUrl request, Example: ``` -var ru = new RequestUrl("https://demo.identityserver.io/connect/authorize"); +var ru = new RequestUrl("https://demo.duendesoftware.com/connect/authorize"); var url = ru.CreateAuthorizeUrl( clientId: "client", diff --git a/FOSS/outtakes/aspnetcore/web.md b/FOSS/outtakes/aspnetcore/web.md index 541784ba..e72cbc37 100644 --- a/FOSS/outtakes/aspnetcore/web.md +++ b/FOSS/outtakes/aspnetcore/web.md @@ -49,7 +49,7 @@ client that automatically uses the token management library: ``` services.AddUserAccessTokenClient("user_client", client => { - client.BaseAddress = new Uri("https://demo.identityserver.io/api/"); + client.BaseAddress = new Uri("https://demo.duendesoftware.com/api/"); }); ``` @@ -75,7 +75,7 @@ services.AddAuthentication(options => }) .AddOpenIdConnect("oidc", options => { - options.Authority = "https://demo.identityserver.io"; + options.Authority = "https://demo.duendesoftware.com"; options.ClientId = "interactive.confidential.short"; options.ClientSecret = "secret"; @@ -119,13 +119,13 @@ services.AddAccessTokenManagement(options => // registers HTTP client that uses the managed user access token services.AddUserAccessTokenClient("user_client", client => { - client.BaseAddress = new Uri("https://demo.identityserver.io/api/"); + client.BaseAddress = new Uri("https://demo.duendesoftware.com/api/"); }); // registers HTTP client that uses the managed client access token services.AddClientAccessTokenClient("client", configureClient: client => { - client.BaseAddress = new Uri("https://demo.identityserver.io/api/"); + client.BaseAddress = new Uri("https://demo.duendesoftware.com/api/"); }); ``` diff --git a/FOSS/outtakes/aspnetcore/worker.md b/FOSS/outtakes/aspnetcore/worker.md index 9cb3383a..f6601165 100644 --- a/FOSS/outtakes/aspnetcore/worker.md +++ b/FOSS/outtakes/aspnetcore/worker.md @@ -15,7 +15,7 @@ var host = Host.CreateDefaultBuilder(args) { options.Client.Clients.Add("identityserver", new ClientCredentialsTokenRequest { - Address = "https://demo.identityserver.io/connect/token", + Address = "https://demo.duendesoftware.com/connect/token", ClientId = "m2m.short", ClientSecret = "secret", Scope = "api" // optional @@ -60,7 +60,7 @@ management is by calling *AddClientAccessTokenHttpClient*: ``` services.AddClientAccessTokenHttpClient("client", configureClient: client => { - client.BaseAddress = new Uri("https://demo.identityserver.io/api/"); + client.BaseAddress = new Uri("https://demo.duendesoftware.com/api/"); }); ``` @@ -76,7 +76,7 @@ optionally also takes a token client name), e.g. a typed client: ``` services.AddHttpClient(client => { - client.BaseAddress = new Uri("https://demo.identityserver.io/api/"); + client.BaseAddress = new Uri("https://demo.duendesoftware.com/api/"); }) .AddClientAccessTokenHandler(); ``` diff --git a/IdentityServer/v5/docs/content/reference/endpoints/discovery.md b/IdentityServer/v5/docs/content/reference/endpoints/discovery.md index 985fa06c..15cea5df 100644 --- a/IdentityServer/v5/docs/content/reference/endpoints/discovery.md +++ b/IdentityServer/v5/docs/content/reference/endpoints/discovery.md @@ -8,7 +8,7 @@ The [discovery endpoint](https://openid.net/specs/openid-connect-discovery-1_0.h The discovery endpoint is available via */.well-known/openid-configuration* relative to the base address, e.g.: - https://demo.identityserver.io/.well-known/openid-configuration + https://demo.duendesoftware.com/.well-known/openid-configuration ## .NET client library You can use the [IdentityModel](https://identitymodel.readthedocs.io) client library to programmatically interact with the protocol endpoint from .NET code. diff --git a/IdentityServer/v6/docs/content/reference/endpoints/discovery.md b/IdentityServer/v6/docs/content/reference/endpoints/discovery.md index 985fa06c..15cea5df 100644 --- a/IdentityServer/v6/docs/content/reference/endpoints/discovery.md +++ b/IdentityServer/v6/docs/content/reference/endpoints/discovery.md @@ -8,7 +8,7 @@ The [discovery endpoint](https://openid.net/specs/openid-connect-discovery-1_0.h The discovery endpoint is available via */.well-known/openid-configuration* relative to the base address, e.g.: - https://demo.identityserver.io/.well-known/openid-configuration + https://demo.duendesoftware.com/.well-known/openid-configuration ## .NET client library You can use the [IdentityModel](https://identitymodel.readthedocs.io) client library to programmatically interact with the protocol endpoint from .NET code. diff --git a/IdentityServer/v7/docs/content/reference/endpoints/discovery.md b/IdentityServer/v7/docs/content/reference/endpoints/discovery.md index 985fa06c..15cea5df 100644 --- a/IdentityServer/v7/docs/content/reference/endpoints/discovery.md +++ b/IdentityServer/v7/docs/content/reference/endpoints/discovery.md @@ -8,7 +8,7 @@ The [discovery endpoint](https://openid.net/specs/openid-connect-discovery-1_0.h The discovery endpoint is available via */.well-known/openid-configuration* relative to the base address, e.g.: - https://demo.identityserver.io/.well-known/openid-configuration + https://demo.duendesoftware.com/.well-known/openid-configuration ## .NET client library You can use the [IdentityModel](https://identitymodel.readthedocs.io) client library to programmatically interact with the protocol endpoint from .NET code.