hyunbin7303 / TodoRestful

TODO Restful
MIT License
1 stars 0 forks source link

JWT investigation #42

Closed hyunbin7303 closed 4 years ago

hyunbin7303 commented 4 years ago

JWT is an open standard that allows transmitting of data between parties as Json. It is digitally signed so the data is trusted and verified. It can be signed using public/private key(ECDSA or RAS) or made secret with HMAC algorithm.

Header... Payload... Signature.

Header

Signature.

To create the Signature part, we have to use encoded header and payload, a secret that used by the algorithm specified in the header and sign that. The signature is used to verify that the message wasn't changed in transition.

hyunbin7303 commented 4 years ago

@habbs19 , @bds0900 We need some investigation how to implement this.

hyunbin7303 commented 4 years ago

https://medium.com/@vaibhavrb999/jwt-authentication-authorization-in-net-core-3-1-e762a7abe00a