1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Files
docs/data/reusables/apps/deprecating_token_oauth_authorizations.md
Laura Coursen a51872d042 Change != "free-pro-team@latest" to enterpriseServerVersions contains currentVersion, actually (#16114)
* Run script/new-versioning/update-not-fpt-conditionals.js

* Fix a few things

* Remove outdated versioning

* Fix broken link

Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
2020-10-21 21:33:43 -07:00

1.2 KiB

{% if enterpriseServerVersions contains currentVersion and currentVersion ver_lt "enterprise-server@2.20" %} {% warning %}

Deprecation Notice: The token attribute is deprecated in some OAuth Authorizations API responses:

  • List your authorizations
  • Get a single authorization
  • Get-or-create an authorization for a specific app - token is still returned for "create"
  • Get-or-create an authorization for a specific app and fingerprint - token is still returned for "create"
  • Update an existing authorization

To reduce the impact of removing the token value, the OAuth Authorizations API now includes a new request attribute (fingerprint), three new response attributes (token_last_eight, hashed_token, and fingerprint), and the Get or create an authorization for a specific app and fingerprint endpoint.

This functionality became the default for all requests on April 20, 2015. Please see the blog post for full details.

{% endwarning %} {% endif %}