@authing/react-ui-components 2.4.55-alpha.3 → 2.4.55-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "2.4.55-alpha.3",
3
+ "version": "2.4.55-alpha.4",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "lib/index.d.ts",
@@ -218,7 +218,7 @@ export const SocialAndIdpLogin: FC<SocialAndIdpLoginProps> = ({
218
218
  }
219
219
 
220
220
  const onLogin = () => {
221
- authClient.social.authorize(item.provider, {
221
+ authClient.social.authorize(item.identifier, {
222
222
  onSuccess(user) {
223
223
  onSuccess(user)
224
224
  },
@@ -74,6 +74,7 @@ export interface SocialConnectionItem {
74
74
  name: string
75
75
  logo: string
76
76
  description: string
77
+ identifier: string
77
78
  provider: SocialConnectionProvider
78
79
  authorizationUrl: string
79
80
  tooltip: Record<Lang, string>