Closed martkaczmarek closed 5 days ago
We are on it...
Update on 2.4.1: providers newly created under 2.4.1 work correctly and don't "lose" the values. However, entry created earlier under 2.4.0 shows empty white page when clicking on entry and refuses to show. Here is the https://app/api/auth/configs result:
{
"code": 1,
"message": "",
"data": [
{
"id": "512ee9d0f2e44cdabc85970496669184",
"source": "Entra",
"sourceName": "Entra",
"enable": true,
"enableRegister": true,
"authType": "GENERIC",
"clientId": "xxxxxxxxxxxxxxxxxxxx",
"clientSecret": "xxxxxxxxxxxxxxxxxxxx",
"sourceDescription": "This is the entry created under 2.4.0",
"sourceIcon": "/icon:antd/windowsfilled",
"sourceCategory": "Source Description",
"issuerUri": null,
"authorizationEndpoint": "https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxx/oauth2/v2.0/authorize",
"tokenEndpoint": "https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxx/oauth2/v2.0/token",
"userInfoEndpoint": "https://graph.microsoft.com/oidc/userinfo",
"scope": "openid profile email offline_access",
"sourceMappings": null,
"userInfoIntrospection": true
},
{
"id": "312af4afb1f04060a1bee5ff7cf5ad6e",
"source": "test",
"sourceName": "test",
"enable": true,
"enableRegister": true,
"authType": "GENERIC",
"clientId": "xxxxxxxxxxxxxxxxxxxx",
"clientSecret": "sdfsdfsdf",
"sourceDescription": "This is the entry created under 2.4.1",
"sourceIcon": "/icon:regular/address-book",
"sourceCategory": "ENTERPISE_ENTITY",
"issuerUri": "https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxx/oauth2/v2.0/token",
"authorizationEndpoint": "https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxx/oauth2/v2.0/authorize",
"tokenEndpoint": "https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxx/oauth2/v2.0/token",
"userInfoEndpoint": "https://graph.microsoft.com/oidc/userinfo",
"scope": "sdf sdfsdf",
"sourceMappings": {
"uid": "a",
"avatar": "b",
"email": "c",
"username": "d"
},
"userInfoIntrospection": false
},
{
"id": "EMAIL",
"enable": true,
"enableRegister": false,
"source": "EMAIL",
"sourceName": "EMAIL",
"authType": "FORM"
}
],
"success": true
}
Oh, and that also prevents us from removing or disabling the faulty old one.
We currently have the functionality to remove Auth Providers only through the API. Please excuse. Generally, we think to close the Issue for now. If we are wrong and there is still an important issue left (bug), just please re-open
Is there an existing issue for this?
Current Behavior
After creating a new User Authentication Provider (which works and is functional) and going into edit of the entry, a few fields are empty. Before:![image](https://github.com/lowcoder-org/lowcoder/assets/31852710/e996f08e-4c84-4e23-9d3c-4edcc0e561e3)
After saving and going into edit again:![image](https://github.com/lowcoder-org/lowcoder/assets/31852710/7ad33f2a-fb62-46db-b56a-a67874172576)
Authentication Provider still works if we fill these fields again, it just shows empty fields in the edit form.
Expected Behavior
Authentication Provider edit form should correctly pull and display saved data.
Steps to reproduce
Environment
Docker Compose multi-image Lowcoder version: 2.4.0
Additional Information
No response