Coder Social home page Coder Social logo

gravitas's People

Contributors

asoftwareguy avatar genuinefafa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gravitas's Issues

ng-show issue with authentication

Hi aSoftwareGuy-

Great tutorial and sample app here. I am really new to rest/angular and I have been struggling to figure out how to implement this functionality with grails.

I ran into a minor issue and had a question as well,

The app seems to be fully functional, although if you do not log off before you close your browser and then fire up the browser again you will remain logged in, however the main.gsp under the ng-show="isAuthenticated" is now false and therefore the Login/Logout dialog is not visible. I am not sure how to best fix this but I thought I would let you know.

My question is a bit unrelated, but is it possible to use the approach that you created here with a multi-page application rather than a single page app? Would the LocalStorage of the token be accessible in another page?

Thanks for any insight

Unable to Login

If wrong credentials are provided the login screen will reappear again and again even though right credentials are submitted later.

Use correct version of spring-security-rest plugin warning

This is not a bug with gravitas, it's fine:)

I was using this application as a reference to setup my own rest-based grails application with security. In the end, I wasted several hours trying to get a working application with the 1.5.1 version of spring-security-rest

Once I matched the plugin of this application, everything worked like a charm.

Just wanted to share this in case others try doing the same.

Thanks

Exception thrown with error "Message: ‘mediaType’ must not be empty"

Exception thrown with error "Message: ‘mediaType’ must not be empty"

java.lang.IllegalArgumentException: ‘mediaType’ must not be empty
org.springframework.util.Assert.hasLength(Assert.java:136)
org.springframework.http.MediaType.parseMediaType(MediaType.java:687)
org.springframework.http.MediaType$parseMediaType.call(Unknown Source)

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.