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

ExternalAccounts docs do not match results from SDK #1323

Open
parkerholladay opened this issue Jul 24, 2024 · 1 comment
Open

ExternalAccounts docs do not match results from SDK #1323

parkerholladay opened this issue Jul 24, 2024 · 1 comment

Comments

@parkerholladay
Copy link

parkerholladay commented Jul 24, 2024

Comparing the docs of the SDK, the REST API, and what is actually returned from each, something is misaligned.

The docs say there should be a provider and providerUserId, while the SDK returns provider and externalId only for Microsoft oauth. For google oauth, those fields are missing.

On the rest endpoint for users, MS external accounts have provider and provider_user_id, but google external accounts have google_id with no provider.

See rest docs here and sdk docs here. Am I missing something?

@parkerholladay
Copy link
Author

Related, the google_id matches the uid from google, but the externalId/provider_user_id for the MS accounts does not match any foreign identifier (typically oid) we can find related to the users we're testing with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant