PowAssent v0.4.0 Release Notes
Release Date: 2019-10-06 // over 4 years ago-
This release consists of major breaking changes.
๐ง You'll have to change the
:strategy
setting in your provider configurations. For the most part it would just consists of renamingPowAssent.Strategy.STRATEGY
toAssent.Strategy.STRATEGY
.If you have custom built strategies, you should can use
Assent.Strategy.normalize_userinfo/2
to conform the userinfo response from the API.sub
is now expected instead ofuid
.๐ Changes
Ref: #95
๐ฆ Use
:assent
package for strategies. The following modules has been removed in favor ofAssent
modules:PowAssent.CallbackError
PowAssent.CallbackCSRFError
PowAssent.RequestError
PowAssent.ConfigurationError
PowAssent.HTTPAdapter
PowAssent.HTTPAdapter.Httpc
PowAssent.HTTPAdapter.Mint
PowAssent.Strategy.Auth0
PowAssent.Strategy.AzureOAuth2
PowAssent.Strategy.Basecamp
PowAssent.Strategy.Discord
PowAssent.Strategy.Facebook
PowAssent.Strategy.Github
PowAssent.Strategy.Gitlab
PowAssent.Strategy.Google
PowAssent.Strategy.Instagram
PowAssent.Strategy.OAuth
PowAssent.Strategy.OAuth.Base
PowAssent.Strategy.OAuth2
PowAssent.Strategy.OAuth2.Base
PowAssent.Strategy.Slack
PowAssent.Strategy.Twitter
PowAssent.Strategy.VK
-
PowAssent.Strategy
Callback params now conforms to OpenID Connect Core 1.0 Standard Claims spec. During the callback phase, the following param keys will be renamed:
sub
touid
-
preferred_username
tousername
The e-mail is no longer considered confirmed unless the callback params has an
email_verified
key set to true๐ง
PowAssent.Plug.authorize_url/3
generates a random nonce ifnonce: true
is set in the provider configuration๐ Support for OpenID Connect and Apple Sign In through Assent