- Notifications
You must be signed in to change notification settings - Fork909
Commit5bd2a3f
authored
fix: conceal sensitive domain information in auth error messages (#17132)
## Summary- Removes exposure of allowed domain list in OIDC authentication errormessages- Replaces detailed error messages with a generic message that doesn'texpose internal domains- Adds "Please contact your administrator" to guide users seekingassistance- Addresses security concern where third-party contractors could seeinternal domain information## Test plan- Test accessing Coder with an email that doesn't match allowed domains- Verify error message no longer displays the list of authorized domains- Verify message now includes guidance to contact administratorFixes issue related to domain information exposure duringauthentication. Linked issue:#17130🤖 Generated with [Claude Code](https://claude.ai/code)1 parent0eec78d commit5bd2a3f
2 files changed
+75
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1358 | 1358 |
| |
1359 | 1359 |
| |
1360 | 1360 |
| |
1361 |
| - | |
| 1361 | + | |
1362 | 1362 |
| |
1363 | 1363 |
| |
1364 | 1364 |
| |
| |||
1373 | 1373 |
| |
1374 | 1374 |
| |
1375 | 1375 |
| |
1376 |
| - | |
| 1376 | + | |
1377 | 1377 |
| |
1378 | 1378 |
| |
1379 | 1379 |
| |
|
Lines changed: 73 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1982 | 1982 |
| |
1983 | 1983 |
| |
1984 | 1984 |
| |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
1985 | 2058 |
| |
1986 | 2059 |
| |
1987 | 2060 |
| |
|
0 commit comments
Comments
(0)