Question: Suppose a web application needs to authenticate a user to provide access to a restricted area. The server receives a JWT token below. eyJhbGciOiJIUzI 1
Suppose a web application needs to authenticate a user to provide access to a restricted area. The server receives a JWT token below.
eyJhbGciOiJIUzINiIsInRcCIIkpXVCJeyJmaXJzdEhbWUiOiJOYXRoYWiLCJsYXNTmFtZSIIlJcNlbGwiLCJhYNlcNUbtlblNcmluZyIImgamtlcjkOSJQsRyHDlxtaGPNfKUQOTcGLjPLTgleEeugWs
Both endpoints know a common base encoded secret shown below.
awRTE
Use this information to answer the follow questions?
What is the firstName of the user being authenticated?
What is the lastName of the user being authenticated?
What is the accessTokenString? Hint: Your answer should begin characters long and begins with an h
Would the sever be able to confirm the signature of the JWT token? Please answer with yes or no
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
