Comments (3)
What type of authentication are you using?
The basic idea is that you'd want to store a token client side (in local storage), that you use when you respond to the authentication challenge.
from angular-wamp.
it's a RPC call. can't seem to get my head around this. I don't see any obvious token from the server other from _id on $wamp.connection.session
from angular-wamp.
You should authenticate the user when the WAMP connection is being established. https://github.com/tavendo/WAMP/blob/master/spec/advanced.md#authentication
If you can give me some more info, I'll try to help.
What WAMP router are you using?
How are you authenticating the user on the server?
Are you prompting the user for a username/password or getting the login info from somewhere else?
from angular-wamp.
Related Issues (20)
- Publish latest 0.1.7 to npm HOT 2
- Any thoughts on Angular 2? HOT 13
- Set realm from variable HOT 2
- Session not open error on re connection
- subscribeOnScope promise does not return subscription HOT 2
- Error: [$rootScope:inprog] when subscribing to two Topics HOT 2
- Multiple connections, returned functions use options from last connection
- Unsubscribe gives error HOT 2
- Bower mismatch HOT 1
- connection alternatives HOT 3
- Version on npm is outdated HOT 1
- Working Example HOT 1
- is it possible to use angular-wamp with gos web socket bundle.? HOT 1
- Unable to subscribe from a topic. HOT 1
- Reconnect after connection lost HOT 5
- error callback on subscribe failure is not getting called. HOT 6
- Update dependencies HOT 1
- Cannot uglify on Gulp HOT 1
- problem angular-wamp in angular4 HOT 2
- Establishing a tunnel via proxy server failed 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 angular-wamp.