Skip to content

Separate OAuth2 info from Sessions into Identities - #5920

Closed
stnguyen90 wants to merge 5 commits into
1.4.xfrom
feat-user-identities-1.4.x
Closed

stnguyen90 wants to merge 5 commits into
1.4.xfrom
feat-user-identities-1.4.x

Conversation

@stnguyen90

@stnguyen90 stnguyen90 commented Aug 1, 2023 •

Copy link
Copy Markdown
Contributor

What does this PR do?

This allows us to retain the OAuth2 info even if the session is deleted. This also provides a foundation for allowing multiple emails, phone numbers, etc, not from an OAuth2 provider.

This PR was created to split out commits from #5551.

Test Plan

Manual

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@stnguyen90 stnguyen90 changed the title Feat user identities 1.4.x Separate OAuth2 info from Sessions into Identities Aug 1, 2023
@stnguyen90
stnguyen90 force-pushed the feat-user-identities-1.4.x branch from 183d0d7 to 7b621e1 Compare August 1, 2023 00:56
@stnguyen90
stnguyen90 marked this pull request as ready for review August 1, 2023 01:28
This allows us to retain the OAuth2 info even if the session is
deleted. This also provides a foundation for allowing multiple emails,
phone numbers, etc, not from an OAuth2 provider.
Setting a password can cause problems with other APIs that expect the
password to be null. In addition, it doesn't match the implementation
for the other APIs that create a user without a password (Create Magic
URL Session, Create Phone Session, Create Anonymous Session, etc).
Until we have a clearer picture of why we need it, it would be best to
remove it since it's easier to add it later than to remove it after it's
released.
@stnguyen90
stnguyen90 force-pushed the feat-user-identities-1.4.x branch from 7b621e1 to b8e2215 Compare August 2, 2023 22:37
This will allow developers to set up a job to find expired access tokens
so they can refresh them.
@stnguyen90
stnguyen90 changed the base branch from 1.4.x to cl-1.4.x August 7, 2023 15:50
@stnguyen90
stnguyen90 changed the base branch from cl-1.4.x to 1.4.x August 7, 2023 21:52
@stnguyen90 stnguyen90 closed this Aug 7, 2023
@stnguyen90
stnguyen90 deleted the feat-user-identities-1.4.x branch September 10, 2023 16:33
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

Successfully merging this pull request may close these issues.

1 participant