HTTP
Exploits
JWT
OAUTH
100

A 401 status code is returned when?

when authentication is required.

100

Name any OWASP API Security Top 10 issue?

Judge Validates

100

JWT stands for?

JSON Web Token

100

In OAUTH flow, client is the user who owns the data and can allow or disallow the access to his data to an app?

 No, it is the resource owner.

200

A 403 status code is returned when?

if a consumer is authenticated but not authorized to access an operation.

200

-Mobile API breach (discussed today) was an example of what kind of vulnerability.

Broken Object Level Authorization

200

JWT token is in the format of?

header.body.signature

200

OAUTH can take care of complete identity management including authorization and authentication.

No, OIDC is used for authentication.

300

Your API resource does no allow deletion, and a client application attempted to delete the resource. What HTTP respose code should you return?

405 method not allowed

300

A mechanism set to detect, deflect, or, in some manner, counteract attempts at unauthorized use of information systems

HoneyPot

300

eyJhbGciOiJub25lIn0.

eyJzdWIiOiJ1c2VyMTIzIiwic2Vzc2lvbiI6ImNoNzJnc2IzMjAwMDB1ZG9jbDM2M

2VvZnkiLCJuYW1lIjoiUHJldHR5IE5hbWUiLCJsYXN0cGFnZSI6Ii92aWV3cy9zZXR0aW5ncyJ9

 is a valid JWT?

Yes

300

Should I need to create oAuth token everytime I access a resource.

No, token can be used till the expiry

400

429 status code is returned when?

Too many requests (to prevent brute force)

400

A collection of internet-connected devices infected by malware that allow hackers to control them

Botnet

400

What is the difference between RS256 to HS256 algorithm?

HS256 can create a signature for a given sample of data using a single key. 

RS256 uses pair of keys to do the same.

400

What response do we get when we send an expired OAUTH token.

Server returns 401 error code