Comments (8)
Hi @iotaweb ,
That's a strange one, unfortunately I was unable to reproduce it. A few questions:
- Do you get any errors while running
grunt serve
? - Did Bower ask you to manually resolve any dependencies?
While running the example just now, I realized that the instructions on the Readme were a bit misleading on the Stormpath configuration, so I just updated that section - can you check it out too?
Thanks!
from stormpath-sdk-angularjs.
Hi @robertjd,
I didn't see any errors while running grunt serve
, output below:
okapi:dashboard-app rob$ grunt serve
Running "serve" task
Running "clean:server" (clean) task
Running "env:all" (env) task
Running "concurrent:server" (concurrent) task
Running "injector:scripts" (injector) task
Missing option `template`, using `dest` as template instead
Injecting js files (15 files)
>> Nothing changed
Running "injector:css" (injector) task
Missing option `template`, using `dest` as template instead
Injecting css files (8 files)
>> Nothing changed
Running "wiredep:target" (wiredep) task
Running "autoprefixer:dist" (autoprefixer) task
Running "express:dev" (express) task
Starting background Express server
debugger listening on port 5858
Initializing Stormpath Client
Running "wait" task
>> Waiting for server reload...
Initializing Stormpath Application
Express server listening on 9000, in development mode
Done waiting!
Running "open:server" (open) task
Running "watch" task
Waiting...
GET /api/users/current 401 5ms - 42b
GET /api/things 401 2ms - 42b
GET /api/things 401 1ms - 42b
Sat, 11 Apr 2015 01:21:30 GMT express deprecated res.sendfile: Use res.sendFile instead at server/routes.js:26:11
GET /register 200 48ms
GET /api/users/current 401 1ms - 42b
Thanks for updating the instructions - I had added my Stormpath config values as described, so I don't think this was the problem. There were also no dependency issues reported with bower.
One thing I did try was try Safari (previously I was using Chrome - Mac OS X 10.9). When using Safari, I could register successfully, but could not login. I don't think the token verification worked (I was careful to change the URL of the verification link to use port 9000 to match my express server).
When I try to login, I get the following error (and the user in Stormpath admin remains unverified):
{"errorMessage":"Invalid username or password."}
So it looks like there is definitely something fishy with Chrome and I can only get part way with Safari... :/
from stormpath-sdk-angularjs.
That is fishy.. can you tell me which version of Chrome you are using?
from stormpath-sdk-angularjs.
Chrome Version 41.0.2272.118 (64-bit)
Mac OS X 10.9 Mavericks - Mac Book Pro
from stormpath-sdk-angularjs.
Could you share you code with us? I'm pretty puzzled by this one. If not here you can hit us on [email protected] as well
from stormpath-sdk-angularjs.
Following up on this one as it's a few months old now, any luck @iotaweb ?
from stormpath-sdk-angularjs.
@robertjd - sorry for the delay in responding, I've been working on another project.
I downloaded the latest and this time I can register successfully using Chrome. However the email-verification link is not correctly setting the verification flag to 'Enabled', so I cannot login. If I manually set it using the Stormpath Admin, I can login.
So my original error is fixed, but an issue with verification seems to remain.
from stormpath-sdk-angularjs.
Hi @iotaweb - glad to hear you've had progress! If you're still stuck with email verification, can you look at the console in the browser to see if there are any errors? Feel free to open a new issue here, or contact us on support. I'm going to close this issue out, thanks!
from stormpath-sdk-angularjs.
Related Issues (20)
- Add user management example
- Request for npm support HOT 3
- Add focus to fields in login, registration and forgot password forms HOT 1
- Release 1.1.0 not available on GitHub or Bower HOT 1
- sp-social-login directive expects itself to be in an ng-repeat scope within sp-login-form
- Update TROUBLESHOOTING.md
- Add support for data.authorities as alternative to sp.authorize.group
- Support for multi-group access control? HOT 2
- Detecting groups through a service HOT 1
- defaultPostLoginState not always first call after login HOT 3
- Is $auth.endSession() compatible with ID Site?
- Dependency issue when using UI-Router 0.3 HOT 5
- Please add docs for how to use Social Login V2
- Please add docs for how to do email verification in the getting started
- Please provide status on Angular 2 integration HOT 3
- Mention and link to Angular SDK in README
- Npm module not installing - Sinopia has been shut down HOT 1
- UI-Router ^1.0.0 deprecates state change events and breaks state config 'authenticate' property handling. HOT 1
- IE11: $isCurrentDomain returns false for https domains
- Problem with refresh_token request
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 stormpath-sdk-angularjs.