Comments (4)
Why are you setting auth mode on the authentication endpoint?! I am aware it is possible but I don't understand the use case. The auth endpoint is used only for auth. There is no purpose to it other than that. If you want to set optional auth, you do that on the actual endpoints nes is serving.
Am I missing something?
from nes.
@hueniverse my use case is the following: any user should be able to connect in order to receive updates but once a user signs in he will reauthenticate and receive personal updates.
from nes.
That doesn't mean you want the authentication endpoint to have optional authentication. If you simply omit auth from the connection, you will have optional authentication.
from nes.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
from nes.
Related Issues (20)
- Get auth result on connect HOT 2
- nes fails to verify credentials with hapi-auth-jwt2 customVerify function HOT 2
- Client is not working in browser. HOT 5
- Fails to load in IE11 due to ES6 syntax HOT 5
- Error: Connection requires authentication HOT 1
- Only node 12
- Require hapi 19
- Change plugin name to @hapi/nes
- WSS integration HOT 1
- request.info.remoteAddress is always 127.0.0.1 in request handler
- Cannot get pub/sub example to work HOT 7
- Access server.publish from another file HOT 1
- Non standard browser cookie in Nes authentication HOT 1
- Polling option fallback HOT 1
- Socket closing without prompt
- Error is thrown, if client.connect({auth: 'somestring'})
- Can't received publish messages from browser HOT 2
- Using nextjs with it conflicts with the HRM Websocket HOT 1
- Upgrade to [email protected] HOT 1
- Nes most likely breaking in Node 22 HOT 1
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 nes.