AshAuthentication.Strategy.DynamicOidc.IdentityChange (ash_authentication v5.0.0-rc.9)

Copy Markdown View Source

Updates the identity resource when a user is registered through a dynamic_oidc strategy, namespacing the strategy field with the matched connection id so the {user_id, uid, strategy} unique constraint disambiguates between IdPs that may issue colliding sub claims.

Drop this change into your register_with_* action instead of AshAuthentication.Strategy.OAuth2.IdentityChange:

change AshAuthentication.Strategy.DynamicOidc.IdentityChange