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

fix: SAML: invalid_code issue, missing user error signing up #15522

Merged
merged 6 commits into from
Jun 24, 2024

Conversation

emrysal
Copy link
Contributor

@emrysal emrysal commented Jun 21, 2024

What does this PR do?

PageWrapper HOC re-renders, causing a re-fire of signIn which results in "invalid code" - this PR removes that wrapper (seems to have 0 side effects) and also makes an update to the profile as on initial registration we have no existing user - as per my testing.

Copy link

vercel bot commented Jun 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 3:33pm
cal ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 3:33pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 3:33pm

@keithwillcode keithwillcode added core area: core, team members only foundation labels Jun 21, 2024
@emrysal emrysal marked this pull request as ready for review June 21, 2024 11:49
@graphite-app graphite-app bot requested a review from a team June 21, 2024 11:49
Copy link

graphite-app bot commented Jun 21, 2024

Graphite Automations

"Add foundation team as reviewer" took an action on this PR • (06/21/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@dosubot dosubot bot added the authentication area: authentication, auth, google sign in, password, SAML, password reset, can't log in label Jun 21, 2024
@emrysal emrysal changed the title fix: Error thrown due to missing user fix: invalid_code SAML issue, missing user error signing up with SAML Jun 21, 2024
@emrysal emrysal changed the title fix: invalid_code SAML issue, missing user error signing up with SAML fix: SAML: invalid_code issue, missing user error signing up Jun 21, 2024
@keithwillcode keithwillcode added this pull request to the merge queue Jun 24, 2024
Merged via the queue into main with commit dbf4be2 Jun 24, 2024
25 checks passed
@keithwillcode keithwillcode deleted the bugfix/saml-issues branch June 24, 2024 15:09
emrysal added a commit that referenced this pull request Jun 25, 2024
* fix: Error thrown due to missing user

* chore: Remove unnecessary logs

* fix: Remove PageWrapper in order to prevent double signIn

* Change profile typing to optional

* further type fix

* further type fix..
p6l-richard pushed a commit to p6l-richard/cal.com-fork that referenced this pull request Jul 22, 2024
…15522)

* fix: Error thrown due to missing user

* chore: Remove unnecessary logs

* fix: Remove PageWrapper in order to prevent double signIn

* Change profile typing to optional

* further type fix

* further type fix..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authentication area: authentication, auth, google sign in, password, SAML, password reset, can't log in core area: core, team members only foundation ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants