GithubHelp home page GithubHelp logo

cornflourblue / angular-7-jwt-authentication-example Goto Github PK

View Code? Open in Web Editor NEW
115.0 6.0 96.0 1.1 MB

Angular 7 JWT Authentication Example

Home Page: http://jasonwatmore.com/post/2018/11/16/angular-7-jwt-authentication-example-tutorial

License: MIT License

TypeScript 72.26% HTML 21.01% JavaScript 6.73%

angular-7-jwt-authentication-example's Introduction

angular-7-jwt-authentication-example's People

Contributors

cornflourblue avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

angular-7-jwt-authentication-example's Issues

Unable to add new componet

Hi

When I tried to add a new component with the following syntax

ng g c component-name it give me error as below

You have to be inside an angular-cli project in order to use the generate command.

Imported AuthenticationService but you didn't use it, why? /src/app/home/home.component.ts

Hi, thanks so much for your great tutorial, finally I can log in my project with a real API server, but I don't know how to use JWT authentication in other pages(still 401 Unauthorized), I noticed in /src/app/home/home.component.ts, you imported AuthenticationService, but you didn't use it only use UserService. Could you please help me figure it out? Thank you so much for any advice!๐ŸŒนโ˜•๏ธ

Set timeout for autnentication

Hi, thanks a lot for all tutorial and I run all part fine with the real api. Now I want to add the expiration part for jwt to detecting and relogin to idle users . How can I do this part?

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.