You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you find a bug or have an idea for improvement, please [open an issue](https://github.com/thomasbuilds/start-oauth/issues) on GitHub. Provide as much detail as possible, including steps to reproduce the issue if applicable.
4
+
5
+
## Adding Providers
6
+
7
+
To add support for a new OAuth provider
8
+
9
+
1. Duplicate an existing provider file (e.g. [`src/providers/google.ts`](src/providers/google.ts))
10
+
2. Update the endpoints, configuration options, and any provider-specific links
11
+
3. Ensure your implementation aligns with the structure and flow of existing providers
12
+
4. Submit a pull request with your changes
13
+
14
+
## Pull Requests
15
+
16
+
Before submitting a pull request
17
+
18
+
- Ensure your code adheres to the project's coding style (`npm run format`)
19
+
- Test your changes thoroughly to avoid breaking existing functionality
20
+
- Update documentation if your contribution affects usage or configuration
Lightweight and secure OAuth 2.1 for [SolidStart](https://github.com/solidjs/solid-start) — access the `name`, `email`, and `image` of authenticated users.
12
+
**Lightweight and Secure OAuth2 for [SolidStart](https://start.solidjs.com)** — Access the `name`, `email`, and when available`image` of authenticated users.
13
13
For extended usage, the `provider` name and access `token` are included in the `oauth` object.
@@ -103,17 +92,17 @@ See `start-oauth` in action with the SolidStart [with-auth](https://github.com/s
103
92
104
93
```bash
105
94
# using npm
106
-
npm create solid -- --s --t with-auth
95
+
npm create solid@latest -- -s -t with-auth
107
96
```
108
97
109
98
```bash
110
99
# using pnpm
111
-
pnpm create solid --s --t with-auth
100
+
pnpm create solid@latest -s -t with-auth
112
101
```
113
102
114
103
```bash
115
104
# using bun
116
-
bun create solid --s --t with-auth
105
+
bun create solid@latest --s --t with-auth
117
106
```
118
107
119
108
## Security Features
@@ -122,7 +111,3 @@ bun create solid --s --t with-auth
122
111
- AES-256-GCM encryption for state parameters to prevent tampering
123
112
- Timeout-protected HTTP requests to avoid hanging connections
124
113
- Strict validation of fallback URLs to prevent open redirects
125
-
126
-
## Contributing
127
-
128
-
Contributions are welcome! To add a new provider, duplicate an existing [provider](src/providers/google.ts), update the configuration links, and submit a pull request!
0 commit comments