Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Ping Identity PT-AM-CPE Exam - Topic 1 Question 6 Discussion

Posted by Charolette on Mar 08, 2026 at 03:05 PM

In which OAuth2 grant would you find a user code?

Suggested Answer: D

The Device Authorization Grant (commonly referred to as the Device Flow, RFC 8628) is a specialized OAuth 2.0 grant flow supported by PingAM 8.0.2. It is designed for internet-connected devices that either lack a browser or have limited input capabilities (e.g., Smart TVs, IoT devices, or CLI tools).

In this flow, the interaction is split between the 'Device' and a 'Secondary Device' (like a smartphone or laptop) that has a full browser. The User Code is a fundamental component of this process:

Device Request: The device requests a code from PingAM.

PingAM Response: AM returns a Device Code (for the device) and a User Code (a short, human-readable string like BCDF-GHJK).

User Action: The device displays the User Code and a verification URL to the user.

Authorization: The user navigates to the URL on their smartphone, logs into PingAM, and enters the User Code.

Token Issuance: Once the user authorizes the request, the device (which has been polling AM using the Device Code) receives the Access and Refresh tokens.

The User Code is unique to the Device Flow (Option D). It is not used in the Client Credentials Grant (which is machine-to-machine), the Authorization Code Grant (which uses a redirect-based code), or the Resource Owner Password Credentials Grant (which uses direct username/password submission). In PingAM 8.0.2, administrators can configure the length, character set, and expiration time of these user codes within the OAuth2 Provider settings.


Get Premium PT-AM-CPE Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
31 comments · newest first
MA
Marisha 12 days ago
Yeah, D is definitely the right choice. It fits the user code context.
WI
William 17 days ago
I was torn between B and D, but D makes more sense.
FR
Francesco 23 days ago
Agreed! Device flow is all about user codes.
LA
Lavonda 28 days ago
I think it's D) Device flow. User codes are used there.
RE
Reita 1 month ago
I feel confident with D too. It’s clear in the specs!
DO
Donte 1 month ago
I was torn between B and D, but D makes more sense.
WI
Winifred 1 month ago
Agreed! Device flow is all about user codes.
LU
Lucille 2 months ago
I think it's D) Device flow. User codes are used there.
MA
Mabelle 2 months ago
Definitely D. It's designed for devices without a browser.
KI
Kimbery 2 months ago
I was torn between B and D, but D makes more sense.
AL
Allene 2 months ago
Agreed! Device flow is all about user codes.
AU
Audria 2 months ago
I think it's D) Device flow. User codes are used there.
DI
Dino 2 months ago
Nah, it's not A) Client credentials grant for sure.
MA
Marilynn 3 months ago
I had no idea there was a user code involved!
NI
Nicholle 3 months ago
Wait, are you sure? I thought it was B) Authorization code grant.
SY
Sylvie 3 months ago
Agreed, user codes are used in the device flow!
CA
Candida 3 months ago
It's definitely D) Device flow.
AN
Angella 3 months ago
Nah, it's not A) Client credentials grant for sure.
AI
Aileen 4 months ago
I had no idea there was a user code involved!
CA
Carol 5 months ago
Wait, are you sure? I thought it was B) Authorization code grant.
GL
Gladys 5 months ago
Agreed, user codes are used in the device flow!
GE
Gerri 5 months ago
It's definitely D) Device flow.
ME
Meghann 6 months ago
Yup, D) is correct. User codes are part of the device flow!
AL
Alyce 6 months ago
Wait, are you all sure about that? Sounds kinda off.
DO
Dorothy 6 months ago
No way, it's D) for sure!
BL
Blondell 6 months ago
I thought it was B) Authorization code grant.
FA
Fannie 6 months ago
Definitely D) Device flow. That's where the user code is used.
RO
Rolland 6 months ago
I’m confused; I thought user codes were part of the Resource owner password credentials grant, but now I’m second-guessing myself.
RO
Rozella 7 months ago
I practiced a similar question about OAuth2, and I think the Device flow is the right answer for user codes.
TR
Troy 7 months ago
I remember studying the different OAuth2 flows, and I feel like the user code might be in the Authorization code grant, but that seems off.
GL
Glendora 7 months ago
I think the user code is related to the Device flow, but I'm not entirely sure.
0/2000 characters

Save Cancel