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

FEAT: Open ID Connect authentication #4010

Open
wants to merge 30 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
caeb293
FEAT: Add Open ID Connect authentication method
marekful Feb 24, 2023
3e2a411
chore: add oidc setting db entry during setup
marekful Feb 24, 2023
457d1a7
chore: improve oidc setting ui
marekful Feb 24, 2023
8350271
chore: add message texts
marekful Feb 24, 2023
bc0b466
refactor: improve code structure
marekful Feb 24, 2023
baee464
chore: improve error handling
marekful Feb 24, 2023
6f98fa6
refactor: satisfy linter requirements
marekful Feb 24, 2023
df5ab36
chore: update comments, remove debug logging
marekful Feb 24, 2023
ef64edd
fix: add database migration for oidc-config setting
marekful Feb 26, 2023
fd49644
fix: linter
marekful Feb 26, 2023
d0d36a9
fix: add oidc-config setting via setup.js rather than migrations
marekful Mar 6, 2023
6ed6415
fix: add oidc logger and replace console logging
marekful Mar 6, 2023
0f588ba
fix: indentation
marekful Mar 9, 2023
0b09f03
Merge remote-tracking branch 'origin/develop' into FEAT/open-id-conne…
oechsler Sep 19, 2024
8b84117
Fix configuration template
oechsler Sep 19, 2024
7196dfa
Merge remote-tracking branch 'origin/develop' into FEAT/open-id-conne…
oechsler Oct 30, 2024
0b126ca
Add oidc-config to OpenAPI schema
oechsler Oct 30, 2024
7ef52d8
Update yarn.lock
oechsler Oct 30, 2024
1a030a6
Enforce token auth for odic config PUT call
oechsler Oct 30, 2024
eb312cc
Remove nodemon dependency in package.json
oechsler Oct 31, 2024
637b773
Make the error message for when a user does not exist when attempting…
chutch1122 Dec 10, 2024
e4b87d0
Add documentation for configuring SSO with OIDC
chutch1122 Dec 10, 2024
81aa8a4
Make 'Redirect URL' match the name of the field.
chutch1122 Dec 10, 2024
1ed15b3
Add Cypress tests for updating the OIDC configuration
chutch1122 Dec 10, 2024
529c84f
Add UI E2E tests for the login page for OIDC being enabled and when i…
chutch1122 Dec 11, 2024
6e41d7b
Update warning in documentation to be consistent with the rest of the…
chutch1122 Dec 11, 2024
2cae60d
Merge pull request #1 from chutch1122/FEAT/open-id-connect-authentica…
oechsler Dec 11, 2024
d714fee
Merge remote-tracking branch 'upstream/develop' into FEAT/open-id-con…
chutch1122 Dec 11, 2024
46f0b52
Update error messages for login tests
chutch1122 Dec 11, 2024
03fbebc
Merge pull request #2 from chutch1122/FEAT/open-id-connect-authentica…
oechsler Dec 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make the error message for when a user does not exist when attempting…
… to login via OIDC more user-friendly.
  • Loading branch information
chutch1122 committed Dec 10, 2024
commit 637b773fd6884cfa4079beddb361dd2abb469899
2 changes: 1 addition & 1 deletion backend/internal/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = {
.first()
.then((user) => {
if (!user) {
throw new error.AuthError('No relevant user found');
throw new error.AuthError(`A user with the email ${data.identity} does not exist. Please contact your administrator.`);
}

// Create a moment of the expiry expression
Expand Down