Skip to content

feat: sign in with apple (web)#503

Merged
annahassel merged 13 commits intomasterfrom
feat/apple-signin
Jun 15, 2021
Merged

feat: sign in with apple (web)#503
annahassel merged 13 commits intomasterfrom
feat/apple-signin

Conversation

@annahassel
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/auth/oauth/strategies/apple.js Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 5, 2021

Codecov Report

Merging #503 (11c67fd) into master (735a484) will increase coverage by 2.12%.
The diff coverage is 73.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #503      +/-   ##
==========================================
+ Coverage   87.27%   89.39%   +2.12%     
==========================================
  Files         163      165       +2     
  Lines        3158     3216      +58     
==========================================
+ Hits         2756     2875     +119     
+ Misses        402      341      -61     
Impacted Files Coverage Δ
src/auth/oauth/index.js 68.00% <ø> (+44.00%) ⬆️
src/configs/oauth.js 100.00% <ø> (ø)
src/constants.js 100.00% <ø> (ø)
src/auth/oauth/strategies/apple.js 57.14% <57.14%> (ø)
src/actions/oauth/apple.js 91.66% <91.66%> (ø)
src/auth/oauth/hapi.js 90.47% <100.00%> (+7.14%) ⬆️
src/auth/oauth/pre-response.js 64.44% <100.00%> (+31.83%) ⬆️
src/utils/jwt.js 92.42% <0.00%> (+3.03%) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 878236f...11c67fd. Read the comment docs.

Comment thread src/auth/oauth/strategies/apple.js Outdated
Co-authored-by: Vitaly Aminev <AVVS@users.noreply.github.com>
Comment thread src/auth/oauth/strategies/apple.js Outdated
Comment thread src/actions/oauth/apple.js Outdated
};
}
} catch (error) {
log.error({ error, message: 'Failed to parse user data from apple' });
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should re-throw error hhere

Comment thread src/auth/oauth/hapi.js Outdated
Comment on lines +101 to +106
if (isSameSite || isSameSite === false) {
// NOTE: this overwrites the default from bell
// must be specified, defaults to mf_bfb
server.states.cookies[rest.cookie].isSameSite = rest.isSameSite;
}
// @todo rest.isSameSite is undefined; why override?
// if (isSameSite || isSameSite === false) {
// // NOTE: this overwrites the default from bell
// // must be specified, defaults to mf_bfb
// server.states.cookies[rest.cookie].isSameSite = rest.isSameSite;
// }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this wasnt getting set properly - mainly in test cases through chrome

@annahassel annahassel merged commit dd0969e into master Jun 15, 2021
@annahassel annahassel deleted the feat/apple-signin branch June 15, 2021 12:53
AVVS pushed a commit that referenced this pull request Jun 15, 2021
# [14.20.0](v14.19.0...v14.20.0) (2021-06-15)

### Features

* sign in with apple (web) ([#503](#503)) ([dd0969e](dd0969e))
@AVVS
Copy link
Copy Markdown
Member

AVVS commented Jun 15, 2021

🎉 This PR is included in version 14.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@AVVS AVVS added the released label Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants