@authing/react-ui-components 2.4.55-alpha.1 → 2.4.55-alpha.5
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/build/asset-manifest.json +10 -10
- package/build/index.html +1 -1
- package/build/static/css/2.e5f4a1ca.chunk.css +2 -0
- package/build/static/css/2.e5f4a1ca.chunk.css.map +1 -0
- package/build/static/js/{2.06cb6b53.chunk.js → 2.b28e1968.chunk.js} +3 -3
- package/build/static/js/{2.06cb6b53.chunk.js.LICENSE.txt → 2.b28e1968.chunk.js.LICENSE.txt} +0 -0
- package/build/static/js/{2.06cb6b53.chunk.js.map → 2.b28e1968.chunk.js.map} +1 -1
- package/build/static/js/{main.1de9a856.chunk.js → main.eeb41586.chunk.js} +1 -1
- package/build/static/js/{main.1de9a856.chunk.js.map → main.eeb41586.chunk.js.map} +1 -1
- package/lib/index.d.ts +5 -0
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
- package/src/components/AuthingGuard/Forms/SocialAndIdpLogin/index.tsx +3 -3
- package/src/components/AuthingGuard/api/userPoolConfig.ts +2 -0
- package/yarn-error.log +19616 -0
- package/build/static/css/2.19155096.chunk.css +0 -2
- package/build/static/css/2.19155096.chunk.css.map +0 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authing/react-ui-components",
|
|
3
|
-
"version": "2.4.55-alpha.
|
|
3
|
+
"version": "2.4.55-alpha.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "lib/index.min.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"antd": "^4.8.0",
|
|
9
|
-
"authing-js-sdk": "4.22.26-alpha.
|
|
9
|
+
"authing-js-sdk": "4.22.26-alpha.9",
|
|
10
10
|
"qs": "^6.9.4"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
@@ -218,7 +218,7 @@ export const SocialAndIdpLogin: FC<SocialAndIdpLoginProps> = ({
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
const onLogin = () => {
|
|
221
|
-
authClient.social.authorize(item.
|
|
221
|
+
authClient.social.authorize(item.identifier, {
|
|
222
222
|
onSuccess(user) {
|
|
223
223
|
onSuccess(user)
|
|
224
224
|
},
|
|
@@ -254,12 +254,12 @@ export const SocialAndIdpLogin: FC<SocialAndIdpLoginProps> = ({
|
|
|
254
254
|
}
|
|
255
255
|
onClick={onLogin}
|
|
256
256
|
>
|
|
257
|
-
{item.tooltip?.[i18n.language as Lang] || item.
|
|
257
|
+
{item.tooltip?.[i18n.language as Lang] || item.displayName}
|
|
258
258
|
</Button>
|
|
259
259
|
) : (
|
|
260
260
|
<Tooltip
|
|
261
261
|
key={item.provider}
|
|
262
|
-
title={item.tooltip?.[i18n.language as Lang] || item.
|
|
262
|
+
title={item.tooltip?.[i18n.language as Lang] || item.displayName}
|
|
263
263
|
>
|
|
264
264
|
<div className="authing-social-login-item" onClick={onLogin}>
|
|
265
265
|
<IconFont type={iconType} />
|
|
@@ -72,8 +72,10 @@ export interface ICasConnectionConfig {
|
|
|
72
72
|
}
|
|
73
73
|
export interface SocialConnectionItem {
|
|
74
74
|
name: string
|
|
75
|
+
displayName: string
|
|
75
76
|
logo: string
|
|
76
77
|
description: string
|
|
78
|
+
identifier: string
|
|
77
79
|
provider: SocialConnectionProvider
|
|
78
80
|
authorizationUrl: string
|
|
79
81
|
tooltip: Record<Lang, string>
|