Giter Site home page Giter Site logo

Comments (8)

robertjd avatar robertjd commented on August 16, 2024

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.

iotaweb avatar iotaweb commented on August 16, 2024

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.

robertjd avatar robertjd commented on August 16, 2024

That is fishy.. can you tell me which version of Chrome you are using?

from stormpath-sdk-angularjs.

iotaweb avatar iotaweb commented on August 16, 2024

Chrome Version 41.0.2272.118 (64-bit)
Mac OS X 10.9 Mavericks - Mac Book Pro

from stormpath-sdk-angularjs.

robertjd avatar robertjd commented on August 16, 2024

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.

robertjd avatar robertjd commented on August 16, 2024

Following up on this one as it's a few months old now, any luck @iotaweb ?

from stormpath-sdk-angularjs.

iotaweb avatar iotaweb commented on August 16, 2024

@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.

robertjd avatar robertjd commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.