chrisreedio / socialment

Socialite OAuth Support for Filament
MIT License
73 stars 10 forks source link

Allow custom create callback. #43

Closed haringsrob closed 4 weeks ago

cheesegrits commented 1 month ago

@haringsrob @chrisreedio hey guys, I was literally just sitting down to code up (almost) this exact PR.

My use case is I need to be able to abort an account creation, which would almost be handled by this PR in that I could just throw an AbortedLoginException in my createAccountUsing callback.

I think the only difference would be I would probably need to allow for specifying a redirect URL.

Any chance this PR can be merged so I can start using it, and if necessary PR a redirect URL change?

chrisreedio commented 4 weeks ago

@haringsrob @chrisreedio hey guys, I was literally just sitting down to code up (almost) this exact PR.

My use case is I need to be able to abort an account creation, which would almost be handled by this PR in that I could just throw an AbortedLoginException in my createAccountUsing callback.

I think the only difference would be I would probably need to allow for specifying a redirect URL.

Any chance this PR can be merged so I can start using it, and if necessary PR a redirect URL change?

Thanks for the nudge to get me moving on this again.

Went with a first party PR on this to resolve the need due to no movement on this.

See #59 for more.