Skip to content

Conversation

@pelican-vehikl
Copy link
Collaborator

@pelican-vehikl pelican-vehikl commented May 1, 2025

  • Oauth
  • Captcha
  • Avatar
  • EggFeature

@pelican-vehikl pelican-vehikl self-assigned this May 1, 2025
@pelican-vehikl pelican-vehikl marked this pull request as draft May 1, 2025 20:50
Copy link
Member

@rmartinoscar rmartinoscar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleanup

@rmartinoscar rmartinoscar self-requested a review June 5, 2025 21:15
@pelican-vehikl pelican-vehikl marked this pull request as ready for review June 5, 2025 21:16
@pelican-vehikl pelican-vehikl requested a review from Boy132 June 12, 2025 19:46
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary as a provider? I don't think the majority of people are going to add anymore custom providers or if it's worth supporting them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the Provider makes sense here since it configures the AvatarService. We could hardcode those 2 schemas as the only options the service supports, but that seems like it makes it less modular.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary as a provider? I don't think the majority of people are going to add anymore custom providers or if it's worth supporting them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as the AvatarService Provider.

Comment on lines +19 to +22
/**
* @return array<string, string|string[]|bool|null>
*/
public function getServiceConfig(): array;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we refactor this to be either a not complex array (string[] only) or a dto?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Socialite wants different configs for different providers (Steam wants different configs than Gitlab).

Do you have any suggestions? Not sure how to make a DTO that's not just a bag of dynamic props.

@lancepioch lancepioch merged commit de4cb38 into main Jul 2, 2025
25 checks passed
@lancepioch lancepioch deleted the vehikl/singleton branch July 2, 2025 01:33
@github-actions github-actions bot locked and limited conversation to collaborators Jul 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants