{"id":23799569,"url":"https://github.com/vizir/react-native-simple-login","last_synced_at":"2025-09-06T13:32:55.172Z","repository":{"id":48081269,"uuid":"80645440","full_name":"Vizir/react-native-simple-login","owner":"Vizir","description":"Login component for react-native","archived":false,"fork":false,"pushed_at":"2019-01-11T02:40:01.000Z","size":183,"stargazers_count":46,"open_issues_count":6,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-01T20:16:17.577Z","etag":null,"topics":["component","login","login-forms","react-native"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vizir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-01T17:34:45.000Z","updated_at":"2020-09-28T22:41:12.000Z","dependencies_parsed_at":"2022-08-12T18:10:45.956Z","dependency_job_id":null,"html_url":"https://github.com/Vizir/react-native-simple-login","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Vizir/react-native-simple-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizir%2Freact-native-simple-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizir%2Freact-native-simple-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizir%2Freact-native-simple-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizir%2Freact-native-simple-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vizir","download_url":"https://codeload.github.com/Vizir/react-native-simple-login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vizir%2Freact-native-simple-login/sbom","scorecard":{"id":148665,"data":{"date":"2025-08-11","repo":{"name":"github.com/Vizir/react-native-simple-login","commit":"37cf4957065ecf8e4efcb6ec2633f1b456ac1df1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T10:00:55.369Z","repository_id":48081269,"created_at":"2025-08-16T10:00:55.369Z","updated_at":"2025-08-16T10:00:55.369Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273912608,"owners_count":25189969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","login","login-forms","react-native"],"created_at":"2025-01-01T21:17:18.147Z","updated_at":"2025-09-06T13:32:54.715Z","avatar_url":"https://github.com/Vizir.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-simple-login\n\n![alt text](simpleLogin.jpg \"Simple Login - React Native\")\n\n\u003e Login component for react-native\n\n[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) [![Build Status](https://travis-ci.org/Vizir/react-native-simple-login.svg?branch=master)](https://travis-ci.org/Vizir/react-native-simple-login)\n[![Code Climate](https://codeclimate.com/github/Vizir/react-native-simple-login/badges/gpa.svg)](https://codeclimate.com/github/Vizir/react-native-simple-login)\n[![Test Coverage](https://codeclimate.com/github/Vizir/react-native-simple-login/badges/coverage.svg)](https://codeclimate.com/github/Vizir/react-native-simple-login/coverage)\n[![Issue Count](https://codeclimate.com/github/Vizir/react-native-simple-login/badges/issue_count.svg)](https://codeclimate.com/github/Vizir/react-native-simple-login)\n\n## Install\n\n```bash\n\nnpm install --save react-native-simple-login\n\n```\n\n## Usage\n\n```JavaScript\n\nimport Login from 'react-native-simple-login'\n\n...\n\nconst onLogin = (email, password) =\u003e {\n  console.log(email, password) // user credentials\n}\n\nconst onResetPassword = (email) =\u003e {\n  console.log(email)\n}\n\n\u003cLogin\n  onLogin={onLogin}\n  onResetPassword={onResetPassword}\n/\u003e\n\n```\n\nWill output:\n\n![alt text](example.png \"Example visual\")\n\n| Available Properties | Description |\n-----------------------|-----------------\n| onLogin                                | (required) Function to call when the user tries to login |\n| onResetPassword                        | Function to call when the user tries to reset password |\n| labels                                 | An object with the labels to use on the component, if a label is missing, the default will be used. Available labels are: rememberMe, userIdentification, password, forgotPassword, loginFormButton, forgotPasswordFormButton, back. Example: `{ userIdentification: 'Email' }` |\n| logoImage                              | The image to be used as the logo. Will appear at the top of the login and reset password forms |\n| passwordInputIcon | The image to be used as the password input icon |\n| resetPasswordHeaderRenderer            | If present, function that will be used to get the output of the reset password form header. Receive a param with the function to call to go back to login. |\n| showLogoOnLogin                        | If true, will show the logo image on the login form. Defaults to true. |\n| showLogoOnResetPassword                | If true, will show the logo image on the reset password form. Defaults to true. |\n| userIdentificationInputIcon            | The image to be used as the user identification input icon |\n| inputPlaceholderTextColor              | Color to use for the input placeholders |\n| backButtonStyle                        | Reset password back button style |\n| backButtonTextStyle                    | Reset password back button text style |\n| baseButtonStyle                        | Base style for the submit buttons |\n| baseButtonTextStyle                    | Base style for the submit buttons text |\n| loginResetPasswordLinkStyle            | Reset password link style |\n| loginResetPasswordLinkTextStyle        | Reset password link text style |\n| fieldsetWrapperStyle                   | Form fieldset style |\n| inputIconStyle                         | Input icon style |\n| inputWrapperStyle                      | Input wrapper style |\n| inputStyle                             | Input style |\n| loginFormSubmitButtonStyle             | Login form submit button style |\n| loginFormSubmitButtonTextStyle         | Login form submit button text style |\n| loginFormWrapperStyle                  | Login form wrapper style |\n| logoStyle                              | Logo style |\n| resetPasswordFormWrapperStyle          | Reset password form wrapper style |\n| resetPasswordFormSubmitButtonTextStyle | Reset password form submit button text style |\n| resetPasswordFormSubmitButtonStyle     | Reset password form submit button style |\n\n## Contributing\n\n1. Fork this repository\n2. Create a branch based on master about what you are doing\n  - Names should be separated by hyphen: example-name\n3. Commit using the format: \\[\\\u003ctype\\\u003e\\] \\\u003cmessage\\\u003e\n  - The type should be: Feat, Fix, Refactor or Docs\n  - Example message: \\[Docs\\] Added contributing to readme\n  - Do not forget to add tests!\n4. Run all tests `npm test` and linter `npm run lint`\n5. Create a pull request describing the changes you made\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvizir%2Freact-native-simple-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvizir%2Freact-native-simple-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvizir%2Freact-native-simple-login/lists"}