Changelog
View SourceAll notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.5.0 (2026-07-17)
This is the first release from wkirschbaum/ueberauth_cognito, which is now the maintained home of this package (previously mbta/ueberauth_cognito).
- Added per provider configuration, which allows multiple Cognito providers to be set for different user pools.
- Added support for passing
login_hintandidentity_providerrequest params through to the Cognito authorize URL. - Improved error handling: OAuth error callbacks from Cognito (
error/error_descriptionparams) are now surfaced as Ueberauth errors instead of a generic missing-code error; callbacks without the optionalerror_descriptionparam are reported under their error code instead ofno_code. - Fixed the id token expiry check treating a missing
expclaim as valid. - The JWT verifier now only accepts tokens with
token_use: "id", since it only ever verifies id tokens. - Fixed a crash when AWS responds with HTTP 200 but a non-JSON body; this is now reported as an
aws_responseerror. - Missing required configuration (
auth_domain,client_id, etc.) now raises a helpfulArgumentErrorinstead of failing later with a confusing error. - Atom configuration values (e.g.
uid_field: :sub) are now accepted and converted to strings; other unsupported value types raise a helpful error that names the key without logging the value. - Fixed a
Mix.Configdeprecation warning. - CI now tests against all supported Elixir/OTP versions.
v0.4.0 (2022-03-08)
- BREAKING: remove option to handle refresh tokens by passing as an argument to the callback URL. This approach involved transmitting the refresh token to the browser and as such was in violation of the OAuth 2.0 RFC.
v0.3.1 (2022-01-14)
- Add support for configuring scopes to include.
v0.3.0 (2021-09-01)
- BREAKING: minimum ueberauth version is now 0.7
- Standardize handling of CSRF Attack protection
v0.2.0 (2020-05-28)
- BREAKING: minimum Elixir version is now 1.7
- Added per app configuration based on the otp_app
- Support some optional parameters for Cognito
/authorize - Modified to return
info/1with the information of User inUeberauth.Auth.Info
Thank you to @mdillavou and @yagince for their contributions to this release!
v0.1.0 (2019-12-19)
- Initial release