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
[passport-google-oauth20] Update email_verified
type and override passport.Profile
provider
type
#69338
[passport-google-oauth20] Update email_verified
type and override passport.Profile
provider
type
#69338
Conversation
email_verified
type and override passportProfile
provider
typeemail_verified
type and override passport.Profile
provider
type
@remscodes Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. You can test the changes of this PR in the Playground. Status
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 69338,
"author": "remscodes",
"headCommitOid": "c8e1ff4184618e14ab4b7a4ca13bc36564490eff",
"mergeBaseOid": "0cebe5d5bcaad4a8f18e525b1cd098583b252585",
"lastPushDate": "2024-04-12T13:42:38.000Z",
"lastActivityDate": "2024-05-04T10:37:40.000Z",
"mergeOfferDate": "2024-05-02T14:43:25.000Z",
"mergeRequestDate": "2024-05-04T10:37:40.000Z",
"mergeRequestUser": "remscodes",
"hasMergeConflict": false,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Popular",
"pkgInfo": [
{
"name": "passport-google-oauth20",
"kind": "edit",
"files": [
{
"path": "types/passport-google-oauth20/index.d.ts",
"kind": "definition"
},
{
"path": "types/passport-google-oauth20/passport-google-oauth20-tests.ts",
"kind": "test"
}
],
"owners": [
"yasupeke",
"ezintz",
"ngtan",
"acerbic"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "ezintz",
"date": "2024-05-02T14:42:45.000Z",
"isMaintainer": false
}
],
"mainBotCommentID": 2051790793,
"ciResult": "pass"
} |
🔔 @yasupeke @ezintz @ngtan @Acerbic — please review this PR in the next few days. Be sure to explicitly select |
@remscodes The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
I am not so sure about this changes, if I browse the Google OpenID connect documentation I can see it still as a string, see https://developers.google.com/identity/openid-connect/openid-connect#an-id-tokens-payload. Did it change on passport? Edit: I also see that since five years there has been no new version published https://www.npmjs.com/package/passport-google-oauth20 |
I’m sure that this change comes from Google API and not from passport librairies. I recently noticed that my (email_verified === "true") comparison was always false even for emails actually verified. I got this profile object from my TS project using passport-google-oauth20 : The The We can see that there is no parsing for I've looked in the sub-dependencies (passport-oauth2 and oauth) but there is nothing new that could convert |
It has been more than two weeks and this PR still has no reviews. I'll bump it to the DT maintainer queue. Thank you for your patience, @remscodes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes are looking good to me 👍 , thank you for clarifying!
@remscodes: Everything looks good here. I am ready to merge this PR (at c8e1ff4) on your behalf whenever you think it's ready. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ (@yasupeke, @ezintz, @ngtan, @Acerbic: you can do this too.) |
Ready to merge |
Please fill in this template.
pnpm test <package to test>
.If changing an existing definition:
package.json
.