DescriptionPass device_id/device_type to web flow token approval url.
The issue is after enabling sending device_id for LST, IssueToken
endpoint started returning "issueAdvice": "consent" for scope marked
with per_device_authorization_required:true.
The solution is to pass the same device_id/device_type to approval url.
Tests:
Tested that for LST with device_id consent screen is only shown once.
After restart access token is issued without user interaction.
Tested that for LST without device_id no consent screen is shown.
BUG=403718
R=courage@chromium.org
Committed: https://crrev.com/f0efb899fdc7c72a8fcc6eaf717dad6b03beab27
Cr-Commit-Position: refs/heads/master@{#302350}
Patch Set 1 #Patch Set 2 : Fix unittests. #Messages
Total messages: 10 (3 generated)
|