# \#authentication

**URL:** https://discuss.rubyonrails.org/tag/authentication/51.md

[Latest](https://discuss.rubyonrails.org/latest.md) · [Categories](https://discuss.rubyonrails.org/categories.md) · [Tags](https://discuss.rubyonrails.org/tags.md)

---

## [Rails 8 authentication: autocomplete username for email\_address field](https://discuss.rubyonrails.org/t/rails-8-authentication-autocomplete-username-for-email-address-field/88911)

<div class="topic-metadata">

**Author:** [@smhauck](https://discuss.rubyonrails.org/u/smhauck)\
**Replies:** 5\
**Last updated:** [August 2, 2026, 10:10pm UTC](https://discuss.rubyonrails.org/t/rails-8-authentication-autocomplete-username-for-email-address-field/88911 "2026-08-02T22:10:01Z")

</div>

Any idea why the sessions/new.html.erb users autocomplete: “username” for the email field? I’m trying to add a separate username field and it’s behaving strangely. Can I change it to autocomplete: “email\_address” ? Than…

---

## [Add scheme to token authentication and support DPoP scheme](https://discuss.rubyonrails.org/t/add-scheme-to-token-authentication-and-support-dpop-scheme/91356)

<div class="topic-metadata">

**Author:** [@chad-cole](https://discuss.rubyonrails.org/u/chad-cole)\
**Replies:** 0\
**Last updated:** [July 15, 2026, 3:48pm UTC](https://discuss.rubyonrails.org/t/add-scheme-to-token-authentication-and-support-dpop-scheme/91356 "2026-07-15T15:48:49Z")

</div>

I’d like to extend ActionController::HttpAuthentication::Token so controller authentication methods such as authenticate\_or\_request\_with\_http\_token can: restrict authentication to a specific authorization scheme yield …
