Skip to content

Commit 17e2f9f

Browse files
committed
chore: update comments, notice that identifiers MUST work with first_screen
1 parent 59da6a2 commit 17e2f9f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

samples/sample-blazor/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
// Set the first screen, see https://docs.logto.io/docs/references/openid-connect/authentication-parameters/#first-screen.
5656
authProperties.SetParameter("first_screen", LogtoParameters.Authentication.FirstScreen.Register);
57-
// Set the identifiers, should work with `first_screen`.
57+
// Set the `identifiers`, this parameter MUST be used together with `first_screen`.
5858
authProperties.SetParameter("identifiers", string.Join(",", new[]
5959
{
6060
LogtoParameters.Authentication.Identifiers.Username,

samples/sample-mvc/Controllers/HomeController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public IActionResult SignIn()
3333

3434
// Set the first screen, see https://docs.logto.io/docs/references/openid-connect/authentication-parameters/#first-screen.
3535
authProperties.SetParameter("first_screen", LogtoParameters.Authentication.FirstScreen.Register);
36-
// Set the identifiers, should work with `first_screen`.
36+
// Set the `identifiers`, this parameter MUST be used together with `first_screen`.
3737
authProperties.SetParameter("identifiers", string.Join(",", new[]
3838
{
3939
LogtoParameters.Authentication.Identifiers.Username,

samples/sample/Pages/Index.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public async Task OnPostSignInAsync()
3030

3131
// Set the first screen, see https://docs.logto.io/docs/references/openid-connect/authentication-parameters/#first-screen.
3232
authProperties.SetParameter("first_screen", LogtoParameters.Authentication.FirstScreen.Register);
33-
// Set the identifiers, should work with `first_screen`.
33+
// Set the `identifiers`, this parameter MUST be used together with `first_screen`.
3434
authProperties.SetParameter("identifiers", string.Join(",", new[]
3535
{
3636
LogtoParameters.Authentication.Identifiers.Username,

0 commit comments

Comments
 (0)