Comments (4)
The line numbers don't seem to match up, has auth.js been modified?
Unfortunately this is a works for me, so any other info you can share? Which OIDC provider are you using? It looks like the req.body is missing.
from arkime.
Sorry, just noticed that the log output was from v5.0.1, I tried again this time with v5.1.0 and the line numbers match up now
Wed, 01 May 2024 13:04:11 GMT - GET / 302 0 bytes 9.663 ms
/opt/arkime/common/auth.js:783
if (req.body.ogurl) {
^
TypeError: Cannot read properties of undefined (reading 'ogurl')
at /opt/arkime/common/auth.js:783:24
at complete (/opt/arkime/node_modules/passport/lib/middleware/authenticate.js:280:13)
at /opt/arkime/node_modules/passport/lib/middleware/authenticate.js:287:15
at pass (/opt/arkime/node_modules/passport/lib/authenticator.js:446:14)
at Authenticator.transformAuthInfo (/opt/arkime/node_modules/passport/lib/authenticator.js:468:5)
at /opt/arkime/node_modules/passport/lib/middleware/authenticate.js:284:22
at /opt/arkime/node_modules/passport/lib/http/request.js:41:7
at /opt/arkime/node_modules/passport/lib/sessionmanager.js:51:9
at /opt/arkime/common/auth.js:1146:7
at onBody (/opt/arkime/node_modules/@elastic/elasticsearch/lib/Transport.js:320:9)
Node.js v18.20.1
from arkime.
I'm using Keycloak and the authRedirectURIs
is set to https://context.mcgillowen.local/auth/login/callback
from arkime.
Ok, I'll try and reproduce, for now you could change it to if (req.body?.ogurl) {
from arkime.
Related Issues (20)
- New cont3xt integration : emailrep.io
- 是否能增加汉化版本 或者在哪里进行汉化 HOT 4
- Cont3xt : temporary display of integration processing stats
- Cont3xt : name browser panes
- JA4 DTLS support HOT 1
- Cont3xt : 'skip children' query string support
- Payload Src Hex column has incorrect name Payload Src UTF8
- Scrubbing compressed pcap should change session so it can't be retrieved HOT 1
- header length bug : +opportunity to add custom error handler pages :D HOT 1
- bulk query summary count of parent node[type] vs children[types]
- keyword highlighting within default card / individual card displays
- Disable focus on query input field after query string based search
- Add config variable for max sesssions HOT 1
- Ability to scroll/stream unique values
- db.pl init failed with `the [enabled] parameter can't be updated for the object mapping [_doc]` HOT 4
- Improved time format string support for link groups HOT 2
- Document the correct os/es permissions
- libyara8 not installable on Ubuntu Server 24.04 LTS HOT 1
- arkime_config_interfaces.sh omits warning when using setting interfaceOps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arkime.