Angular 7 + Spring Boot JWT Authentication Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I really like your way of explaining things steps by step. Nice job!

SudhirKumar-fhqq
Автор

Very use full tutorial. I learnt a lot out of it...

Just one small thing noted:
- the Angular Source code provided in javainuse.com for this tutorial is actually NOT for this tutorial
- instead you have provided the Source code of "Angular 7 + Spring Boot Basic Auth Using HTTPInterceptor Example"
- since it is a small change (and you have explained it clearly), i changed it on my own.

But update the Source code for upcoming viewers (as the Git title says "angular7-jwt" but JWT is not in it)

Really thank you for SHARING YOUR KNOWLEDGE...

kdhineshram
Автор

Everything seems good, one suggestion
Make the name like
Angular+Java series 01
Angular+Java series 02
and so on, so it will be in order while watching as playlist.

shanths
Автор

Thanks for the tutorial. Would you please tell us how to add JWT RefreshToken to angular code where you have already written code for jwt refresh token in spring boot

bhanubill
Автор

its been really amazing tutorial! very much thankful!

gautamtyagi
Автор

You have not explained the files in your config package. Please upload a video explaining them too.

rutabaamjad
Автор

Can you please share the correct source code with us. I am not able to run the project with what is provided on the website.
I keep getting this error in the console:


Thanks in advance

MrPag
Автор

this Spring Boot + JWT Authentication code project is rar file.. and i am having problem while importing it in eclipse..
" java.util.zip.ZipException: zip END header not found" i got this error. how to import the project? Same thing happening to your other spring boot projects..

vidyesh
Автор

A small doubt though !
Why do you implement Serializable interface in all the class in your project.
I mean, I am aware of the Serialization concept - but Does it have anything to do with Spring Boot (may be internally) ?
I tried removing it from all the classes, it works fine. Still curious to know the reason you are using it !

kdhineshram
Автор

It won't generate token? status 500, Internal server error.
Intellij console:

{
"username": "javainuse",
"password": "password"
}

LegendColgo
Автор

One concern, What will happen when the bearer token is expired. While admiring your good stuff i suggest that part also should be added.

bynuful
Автор

I have followed the example, Basic Authentication and JWT Authentication are not working, nothing happens after clicking on Login button

kirandhulipudi
Автор

How session management will happen in jwt

laxminarayannayak
Автор

Nice explanation sir,
But is the username and password safe here ?
If i have 'btoa' decryption algorithm i can easily hack the passwords of other users isn't it ?

anmolmore