* feat: support IP limitation for user entry pages
* fix: error message, ip whiteList, check_entry_ip
* fix: perform checks on the backend
* fix: change the implementation of checking IpWhitelist
* fix: add entryIpCheck in SetPassword and remove it from VerifyCode
* fix: remove additional error message pop-ups
* fix: add isRestricted and show ip error in EntryPage.js
* fix: error message
* Update auth.go
* Update check_ip.go
* Update check_ip.go
* fix: update return value of the check function from string to error
* fix: remoteAddress position
* fix: IP whitelist
* fix: clientIp
* fix:add util.GetClientIpFromRequest
* fix: remove duplicate IP and port separation codes and remove extra special characters after clientIp
* fix: gofumpt
* fix: getIpInfo and localhost
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com>
* fix: trying to fix dark mode not applying on login/registration interface
* fix: trying to fix dark mode not applying on login/registration interface
* fix: trying to fix dark mode not applying on login/registration interface
* fix: Clean up unused code
* fix: loginBackgroundDark move to App.less
* fix: fix typo
* 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.
* feat: add more algorithm support for JWT signing
* feat: add i18n support
* feat: add i18n support
* feat: optimize if statement
* fix: remove additional space line
* feat: support share application
* revert: revert i18n
* fix: improve code format
* fix: improve code format and move GetSharedOrgFromApp to string.go
* feat: add JWT-Standard option to return standard OIDC UserInfo
* fix: fix error occurs by different claim type
* feat: improve code format and add missing return
* feat: add signin items table
* fix:unable to login
* feat: improve code format
* fix: fix display err on signup link
* feat: improve display of sign up link
Add configuration items to the application to limit the number of logins and the login wait time after the maximum number of errors is reached
feat: #2272
fix: fixed the issue where the token parameter could be set to a negative value
* 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>