This forum is now read-only. Please use our new forums at discuss.codecademy.com.

OAuth2 Forum

View Course » View Exercise

1793 points
0598e46d38330ac6b118498024660020?s=140&d=retro
Submitted by
Mike Wyatt II
over 4 years ago

What is answer2?

I remember covering answer1 and answer3 but for some reason am drawing a blank on answer2 even after reviewing the 3 sections.

I remember learning about client keys and altering the endpoint in section 2. Seems like the answer would be "token" but I'm not sure.


6 votes

permalink

  1. Instead of username and passwords OAuth uses tokens to authenticate.
  2. OAuth uses the Authorization HTTP header to send OAuth credentials.
  3. Access levels in OAuth are called scopes.

The header is the key you write in the :headers Hash. Check out exercise 1.1 (Introducing OAuth2)

2484 points
508981c4a8248102000023f4_520683853
Submitted by
Marc Cornellà
over 4 years ago


1 vote

permalink

LOL I submited without answering number 2 and it passed

4733 points
50eedc34255c36db51006d84_901051284
Submitted by
Tiago Rodrigues
over 4 years ago

2 Comments

0598e46d38330ac6b118498024660020?s=140&d=retro Mike Wyatt II over 4 years ago

Likewise. It'd be nice to have confirmation on the answer though. Lol.

4f84976a93d918000300de59_981251210 Michael Rochlin over 4 years ago

Ya... I have no idea what is wrong here...


0 votes

permalink

I submited without any answer.

1422 points
51436073165782c880009144_868508654
Submitted by
Pavel Zhechko
over 4 years ago