{"id":15818766,"url":"https://github.com/alperkurtul/spring-boot-starter-firebase-user-authentication","last_synced_at":"2025-04-01T16:30:57.193Z","repository":{"id":144517954,"uuid":"222228655","full_name":"alperkurtul/spring-boot-starter-firebase-user-authentication","owner":"alperkurtul","description":"RELEASED version -- Firebase User Management and Authentication in Spring Boot","archived":false,"fork":false,"pushed_at":"2023-04-14T17:59:43.000Z","size":79,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-06T06:04:59.330Z","etag":null,"topics":["firebase","firebase-authentication","firebase-user","spring-boot","springboot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/alperkurtul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-17T10:05:47.000Z","updated_at":"2024-05-19T04:50:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d87951a-2b94-45db-832e-ffea991d0e75","html_url":"https://github.com/alperkurtul/spring-boot-starter-firebase-user-authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperkurtul%2Fspring-boot-starter-firebase-user-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperkurtul%2Fspring-boot-starter-firebase-user-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperkurtul%2Fspring-boot-starter-firebase-user-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperkurtul%2Fspring-boot-starter-firebase-user-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alperkurtul","download_url":"https://codeload.github.com/alperkurtul/spring-boot-starter-firebase-user-authentication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620572,"owners_count":20806796,"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","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":["firebase","firebase-authentication","firebase-user","spring-boot","springboot"],"created_at":"2024-10-05T06:04:56.063Z","updated_at":"2025-04-01T16:30:56.973Z","avatar_url":"https://github.com/alperkurtul.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `Firebase User Management and Authentication` in Spring Boot\nThis project gives you the ability to use `Firebase User Management and Authentication` methods. To achieve this, you just have to add the dependency and simply use the methods in your Spring Boot application. These are the list of methods you can use in this release(1.0.0):\n\n- signUpWithEmailAndPassword\n- signInWithEmailAndPassword\n- deleteUserAccount\n- exchangeRefreshTokenToIdToken\n\n## How to Apply\n\n### Configuration\n\nPut a `firebase-web-api-key.txt` file in the root of classpath and specify `firebase-web-api-key : ` property in it.\n```properties\nfirebase-web-api-key : [your-firebase-project-web-api-key]\n```\n\nIn a `@Configuration` class in your application, create a `@Bean` for `UserAuthenticationServiceImpl` class.\n```java\n@Configuration\npublic class DemoConfig {\n\n    @Bean\n    public UserAuthenticationServiceImpl userAuthenticationServiceImpl() {\n        return new UserAuthenticationServiceImpl();\n    }\n    \n}\n```\n\n### Dependencies\n\nPrimarily, you have to add `spring-boot-starter-web` dependency in your Spring Boot application.\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n    \u003cartifactId\u003espring-boot-starter-web\u003c/artifactId\u003e\n\u003c/dependency\u003e\n```\n\nThen, you have to also add this dependency in your `pom.xml`.\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.alperkurtul\u003c/groupId\u003e\n    \u003cartifactId\u003espring-boot-starter-firebase-user-authentication\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0.RELEASE\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### and How to Use\n\nJust simply use methods.\n\n```java\n@Autowired\nprivate UserAuthenticationServiceImpl userAuthenticationServiceImpl;\n```\n\n```java\nFirebaseSignInSignUpResponseBean firebaseSignInSignUpResponseBean = userAuthenticationServiceImpl.signInWithEmailAndPassword(\"test7@test.com\", \"test07\");\n```\n\n### Demo\n\nHere is a demo that I made for you. \u003ca href=\"https://github.com/alperkurtul/spring-boot-starter-firebase-realtime-database-demo\"\u003e`Demo`\u003c/a\u003e\n\n## Next\n\nI hope, I will add new features in the next. Don't be shy to send your advice to me.\nTake care...\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falperkurtul%2Fspring-boot-starter-firebase-user-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falperkurtul%2Fspring-boot-starter-firebase-user-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falperkurtul%2Fspring-boot-starter-firebase-user-authentication/lists"}