Skip to content

Pre-fill user_code by making use of verification_uri_complete#1658

Open
magicbrothers wants to merge 1 commit intodjango-oauth:masterfrom
magicbrothers:1657-prefill-usercode
Open

Pre-fill user_code by making use of verification_uri_complete#1658
magicbrothers wants to merge 1 commit intodjango-oauth:masterfrom
magicbrothers:1657-prefill-usercode

Conversation

@magicbrothers
Copy link

Fixes #1657

Description of the Change

While it was possible to configure OAUTH_DEVICE_VERIFICATION_URI_COMPLETE before, it did not make sense, because one still had to manually type the user code.
With my change the form is pre-filled with the value of the GET parameter user_code.

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS
  • tests/app/idp updated to demonstrate new features
  • tests/app/rp updated to demonstrate new features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pre-fill user_code by making use of verification_uri_complete

1 participant