Skip to content

Releases: na2hiro/remix-auth-twitter

v2.1.0

17 Feb 06:13
Compare
Choose a tag to compare

What's Changed

Other Changes

  • Include refreshToken in Verify by @hgeldenhuys in #32
  • Fix tests and update test for refresh_token by @na2hiro in #33
    • Bump Remix to 1.19

New Contributors

Full Changelog: v2.0.2...v2.1.0

v2.0.2 security updates for crypto-js

26 Oct 10:52
Compare
Choose a tag to compare

What's Changed

Security updates

Full Changelog: v2.0.1...v2.0.2

v2.0.1: security update for `word-wrap`

21 Jul 10:51
Compare
Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v2.0.0...v2.0.1

v2.0.0: OAuth 2.0 support

03 Jul 11:53
Compare
Choose a tag to compare

Adding OAuth 2.0 support

Omitting API v1.1 usage from OAuth 1.0a

  • Remove V1.1 verify_credentials call after successful token retrieval by @na2hiro in #26
  • Breaking changes
    • Renamed the class TwitterStrategyTwitter1Strategy
    • Renamed the default name twittertwitter1 (should be no harm)
    • Renamed clientId, clientSecretconsumerKey, consumerSecret in the options to match the names in Twitter Developer Portal
    • Profile passed to verify function has only userId (numeric string) and screenName (string), instead of a big object with bunch of fields. You would need to call Twitter APIs yourself using the access token and access secret token. https://github.com/plhery/node-twitter-api-v2 is one of the client for API client for Twitter.

Full Changelog: v1.0.0...v2.0.0

v2 pre-release: Add OAuth 2.0 (Twitter2Strategy)

23 Jun 12:14
Compare
Choose a tag to compare

This is a prerelease version for testing purposes in case auth doesn't work currently.

  • Renamed TwitterStrategy to Twitter1Strategy. Also default name is now twitter1 instead of twitter
  • Added Twitter2Strategy which uses OAuth 2.0

v2 pre-release: Remove Twitter API 1.1 usage

17 Jun 07:44
Compare
Choose a tag to compare

Profile to be returned has only userId (numeric string) and screenName (string), instead of a big object with bunch of fields. You need to call Twitter APIs yourself using the access token and access secret token. https://github.com/plhery/node-twitter-api-v2 is one of the client for API client for Twitter.

See #26 for the context and more details.

v1.0.0

15 Apr 11:06
Compare
Choose a tag to compare

What's Changed

Breaking changes

  • Don't always ask permission by default (Closes #22) by @na2hiro in #24
    • When a user is logging in, the library was sending users to /oauth/authorize endpoint, where Twitter always asks about permission it gives even though the user has previously consented. However, there's /oauth/authenticate endpoint, which Twitter just ask to login (if not logged in yet) or redirect back (if already logged in). That seems to be the most of apps use cases for logging in, so the default behavior is changed to only ask permission once.
      • To maintain the v0 behavior, set alwaysReauthorize: true to the first argument to TwitterStrategy

Full Changelog: v0.1.2...v1.0.0

v0.1.2

15 Apr 06:33
Compare
Choose a tag to compare

What's Changed

  • Removed react-dom from dependency #23

Other Changes

Full Changelog: v0.1.1...v0.1.2

v0.1.1

31 Dec 00:18
Compare
Choose a tag to compare

What's Changed

Improvements

Other Changes

New Contributors

Full Changelog: v0.1.0...v0.1.1

v0.1.0

06 Jul 08:32
Compare
Choose a tag to compare

What's Changed

Changes

Other Changes

Full Changelog: v0.0.4...v0.1.0