Skip to content

Commit

Permalink
GitBook: [#8] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Butcher authored and gitbook-bot committed Feb 2, 2023
1 parent af858ce commit 8d24299
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ description: Easily integrate Laravel Socialite into your Laravel Jetstream appl

![Social image courtesy of BeyondCode](https://repository-images.githubusercontent.com/323695919/4944bd00-482a-11eb-990e-7b72beae4e64)

Socialstream combines the beautify of [Laravel Jetstream](https://jetstream.laravel.com/2.x/introduction.html) with the simplicty of [Laravel Socialite](https://laravel.com/docs/9.x/socialite) to give developers a convenient way to integrate authentication with OAuth providers.
Socialstream combines the beauty of [Laravel Jetstream](https://jetstream.laravel.com/2.x/introduction.html) with the simplicty of [Laravel Socialite](https://laravel.com/docs/9.x/socialite) to give developers a convenient way to integrate authentication with OAuth providers.

Because Socialstream relies on Laravel Socialite, it currently only supports the providers Socialite support. These are: Facebook, Twitter, LinkedIn, Google, GitHub, GitLab, and Bitbucket.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

* [Installation](getting-started/installation.md)
* [Configuration](getting-started/configuration.md)
* [Routing](getting-started/routing.md)
* [Customising Socialite](getting-started/customising-socialite.md)
* [Socialite Providers](getting-started/socialite-providers.md)
* [Laravel Passport](getting-started/laravel-passport.md)
Expand Down
13 changes: 13 additions & 0 deletions getting-started/routing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Routing

When using Socialstream, two new routes are registered with your application, these are:

```
http(s)://mydomain.test/oauth/{provider}
http(s)://mydomain.test/oauth/{provider}/callback
```

The first of these URLs is intended to be used for obtaining and redirecting your users to the given `provider`'s OAuth flow.

The second is the return URL, which you should set in the application settings within a providers developer console (for example, the "Authorization callback URL" when configuring a new OAuth application in GitHub).\
\

0 comments on commit 8d24299

Please sign in to comment.