I would like to authente users using an identity server on a Content Delivery.
Following Sitecore Documentation Configure a Sitecore instance and Sitecore Identity server I have :
Patched the sc.variable
identityServerAuthority
to declare the Identity server URL on the CD.<sc.variable name="identityServerAuthority" value="https://my-identity-server.azurewebsites.net" />
Added the connexion string on the CD
<add name="sitecoreidentity.secret" connectionString="my-identity-server-secret" />
Allowed the CD URL on the Identity Server
<AllowedCorsOriginsGroup2>https://my-content-delivery.azurewebsites.net</AllowedCorsOriginsGroup2>
When I navigate to the CD, the site is displayed without redirecting to the Identity server first.
I don't understand why the CD doesn't call the Identity server.
Is there something wrong with my configuration/understanding
?