* feat: Add option to use email as SAML NameID based on application config
- Updated NewSamlResponse11 to accept an application parameter.
- Conditionally set SAML NameIdentifier to user's email or username based on application.UseEmailAsNameId.
* refactor: Update GetValidationBySaml to pass application to NewSamlResponse11
- Modified GetValidationBySaml function to include application parameter in NewSamlResponse11 call.
* feat: Rename field and update logic for using Email as SAML NameID
- Renamed the `UseEmailAsNameId` field to `UseEmailAsSamlNameId` in the `Application` struct.
- Updated `NewSamlResponse` and `NewSamlResponse11` functions to use `UseEmailAsSamlNameId` for setting the NameID value.
- Modified `ApplicationEditPage.js` to reflect the field name change and update the corresponding logic.
* fix:solve the problem of adding xmlns="" when generating XML
* fix:remove fmt.Println
* Update saml_idp.go
---------
Co-authored-by: zhaoxianfei <zhaoxianfei@meiqia.cn>
Co-authored-by: Eric Luo <hsluoyz@qq.com>
* feat: Support Tencent Cloud SAML SSO authentication with Casdoor
* feat: support SamlAttributeTable in the frontend
* fix:fixed the error where frontend fields did not match the database fields
* fix:fix lint error
* fix:fixed non-standard naming
* fix:remove if conditional statement
* feat:Add Saml Attribute format select
* fix:fix typo
* fix:fix typo
* fix:fix typo
* Update SamlAttributeTable.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
* Customization of the initialization file
* fix: G601 (CWE-118): Implicit memory aliasing in for loop
* fix: G304 (CWE-22): Potential file inclusion via variable
* fix: G110 (CWE-409): Potential DoS vulnerability via decompression bomb
* fix:The certs page is displayed incorrectly
* Translations for each language are added
* Replace the variables certificat with Certificat with certificate and Certificate
* Replace the variables certificat with Certificat with certificate and Certificate
* Variable names are more accurate
* Variable names are more accurate
* Modify the variable name