You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f71ac37
Browse filesBrowse the repository at this point in the historyBrowse files
Calm the consent page: name the app once, say each thing once (#3275)
The page is a decision made in a moment. Its heading now asks "Connect <app>
to Fizzy?", naming a self-registered app by where its access goes, once: the
second heading under it, which broke mid-port on phones, is gone, and the
caution and fine print no longer repeat the host.
"Act as you" and "It works as you, so it can only reach what you can" are
one line under the choices, the choices are a word and a short line, and the
how-to lines (connect again to add another account, either way you'll go back
to…) leave the decision screen. One fine-print line stays: where to disconnect.
<strong>We haven’t checked this app.</strong>Anyone can run an app at any address, so only authorize it if you trust <strong><%=redirect_host%></strong>.
13
+
<%ifoauth_redirect_host(redirect_uri)%>
14
+
<strong>We haven’t checked this app.</strong>Only authorize it if you trust that address.
17
15
<%else%>
18
-
<strong>We haven’t checked this app.</strong>It runs on your device and will get this access, so only authorize it if you started it.
16
+
<strong>We haven’t checked this app.</strong>Only authorize it if you started it.
assert_select".oauth-client__warning",text: /\AWe haven’t checked this app\.Anyone can run an app at any address, so only authorize it if you trust connector\.example\.com\.\z/
assert_select".oauth-client__warning",text: /\AWe haven’t checked this app\. It runs on your device and will get this access, so only authorize it if you started it\.\z/
30
-
assert_select".oauth-consent__destination",text: /the app on your device/
28
+
assert_select".oauth-client__warning",text: /\AWe haven’t checked this app\. Only authorize it if you started it\.\z/
31
29
end
32
30
33
31
test"a trusted app is known by its name and carries no warning"do
0 commit comments