Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid auto complete for OpenID scopes #16160

Merged
merged 10 commits into from
Jun 18, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

<div class="mb-3" asp-validation-class-for="Scopes">
<label asp-for="Scopes" class="form-label">@T["Scopes"]</label>
<input asp-for="Scopes" class="form-control" />
<input asp-for="Scopes" class="form-control" autocomplete="new-password" />
<span asp-validation-for="Scopes"></span>
<span class="hint">@T["extra scopes except openid and profile"]</span>
</div>
Expand Down Expand Up @@ -144,7 +144,7 @@

<div class="mb-3 collapse" asp-validation-class-for="ClientSecret">
<label asp-for="ClientSecret" class="form-label">@T["Client Secret"]</label>
<input asp-for="ClientSecret" class="form-control" type="password" autocomplete="off" />
<input asp-for="ClientSecret" class="form-control" type="password" autocomplete="new-password" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a good solution 👍

<span asp-validation-for="ClientSecret"></span>
<span class="hint">@T["set client secret."]</span>
</div>
Expand Down