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

Add missing OAuth constants #238

Merged
merged 5 commits into from
Jul 15, 2024
Merged

Add missing OAuth constants #238

merged 5 commits into from
Jul 15, 2024

Conversation

gcarvelli
Copy link
Contributor

@gcarvelli gcarvelli commented Jun 12, 2024

Description

Add AppleOAuth constants so SDK users can kick off login flows with Sign in with Apple.

The GitHubOAuth and 'MicrosoftOAuth` constants were partially missing, adding them too.

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@gcarvelli gcarvelli self-assigned this Jun 12, 2024
@gcarvelli gcarvelli changed the title Add AppleOAuth (and GitHubOAuth) constants Add missing OAuth constants Jun 12, 2024
[null, null, Resource\ConnectionType::GoogleOAuth, null],
[null, null, Resource\ConnectionType::MicrosoftOAuth, null],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seeing this test fail with AppleOAuth helped me find the $supportedProviders array above. Doesn't hurt to run it for all our social logins.

@gcarvelli gcarvelli marked this pull request as ready for review June 17, 2024 15:34
@gcarvelli gcarvelli requested a review from a team as a code owner June 17, 2024 15:34
@gcarvelli gcarvelli requested a review from PaulAsjes June 17, 2024 15:34
Copy link
Contributor

@sheldonvaughn sheldonvaughn left a comment

Choose a reason for hiding this comment

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

Looks good!

@gcarvelli gcarvelli merged commit e753ed2 into main Jul 15, 2024
3 checks passed
@gcarvelli gcarvelli deleted the gio/add-apple-oauth branch July 15, 2024 16:48
@gcarvelli gcarvelli mentioned this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants