Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] Socialite Support #444

Closed
wants to merge 39 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
521fcd3
Added socialite support
Nov 13, 2020
200f421
fix socialite feature options
Nov 13, 2020
c9c2c61
added fill=currentColor to all SVGs
Nov 16, 2020
be50e3c
only show delete account if the user has a password
Nov 19, 2020
f8e1642
simplify logic in show profile views
Nov 19, 2020
b16d075
fix feature flag
Nov 19, 2020
aa7e6b2
bugfix
Nov 20, 2020
e3dbc72
update authentication process
Nov 20, 2020
80438b6
fixes to authentication
Nov 20, 2020
775ec47
handle access denied
Nov 20, 2020
2694563
display danger banner if permission to connect is denied from user/pr…
Nov 20, 2020
86a4833
Use dropIfExists
joelbutcher Nov 21, 2020
148544d
refactor
Nov 22, 2020
ad63438
redirect if provider user is existing and belongs to a different user
Nov 22, 2020
28b4c59
don't create dupe accounts
Nov 22, 2020
436082e
use dangerBanner
Nov 22, 2020
32f58aa
style fixes
Nov 22, 2020
9eb8161
remove connected accounts if a password is set
Nov 22, 2020
fad264e
fix 500 when denying access
Nov 22, 2020
6091544
show banner on setting password. Fix bottom section border if no pass…
Nov 22, 2020
e26cf2c
more updates to section borders
Nov 22, 2020
dd40dc3
emit saved instead of refresh
Nov 22, 2020
7314158
added banner interaction when account removed
Nov 25, 2020
fcf6472
fix duplicate keys
Nov 28, 2020
19b7d8c
fix inertia 'not connected' message
Nov 28, 2020
ad45cf2
fix profile/Show.vue not expecting the hasPassword prop
Nov 28, 2020
bf92457
added missing 'set-password' route for inertia stack
Nov 28, 2020
135cbfa
Update resources/views/components/socialite.blade.php
joelbutcher Nov 29, 2020
9ed24be
define supported socialite provides in src\jetstream.php and reuse
Dec 2, 2020
31571c1
type check linked in icon
Dec 6, 2020
9480d3d
rename route from 'socialite' to 'oauth'
Dec 6, 2020
06bce2b
Update ConnectedAccount.vue
joelbutcher Dec 8, 2020
79a6d13
refactor controller logic
Dec 17, 2020
9304459
remove unused trait
Dec 17, 2020
f92aed9
allow users email to be updated
Dec 17, 2020
af92c6e
Style CI fixes
Dec 17, 2020
256f1ba
Style CI fixes
Dec 17, 2020
ba79d43
fix call to undefined method
Dec 17, 2020
ccd2d55
mark users email as verified
Dec 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Style CI fixes
  • Loading branch information
Joel Butcher committed Dec 17, 2020
commit 256f1bae11ec2998f4597fb3df20b2d557040b9a
2 changes: 0 additions & 2 deletions src/Http/Controllers/SocialiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public function handleProviderCallback(Request $request, string $provider)
return redirect()->route('profile.show')->banner(
__('You have successfully connected :Provider to your account.', ['provider' => $provider])
);

}

return redirect()->route('profile.show')->dangerBanner(
Expand All @@ -119,7 +118,6 @@ public function handleProviderCallback(Request $request, string $provider)

// Registration...
if (session()->get('origin_url') === route('register')) {

if ($account) {
return redirect()->route('register')->withErrors(
__('An account with that :Provider sign in already exists, please login.', ['provider' => $provider])
Expand Down