Skip to content

Commit da821d2

Browse files
committed
chore: cleanup todos, format
1 parent be5c42e commit da821d2

File tree

5 files changed

+18
-9
lines changed

5 files changed

+18
-9
lines changed

apps/dev/nextjs/tsconfig.json

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "esnext",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": false,
@@ -19,8 +23,17 @@
1923
{
2024
"name": "next"
2125
}
22-
]
26+
],
27+
"strictNullChecks": true
2328
},
24-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
25-
"exclude": ["node_modules", "jest.config.js"]
26-
}
29+
"include": [
30+
"next-env.d.ts",
31+
"**/*.ts",
32+
"**/*.tsx",
33+
".next/types/**/*.ts"
34+
],
35+
"exclude": [
36+
"node_modules",
37+
"jest.config.js"
38+
]
39+
}

packages/core/src/providers/onelogin.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export default function OneLogin(options) {
44
id: "onelogin",
55
name: "OneLogin",
66
type: "oidc",
7-
// TODO: Verify if issuer has "oidc/2" and remove if it does
87
wellKnown: `${options.issuer}/oidc/2/.well-known/openid-configuration`,
98
options,
109
}

packages/core/src/providers/trakt.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default function Trakt<P extends TraktUser>(
2222
id: "trakt",
2323
name: "Trakt",
2424
type: "oauth",
25-
// when default, trakt returns auth error. TODO: Does it?
2625
authorization: "https://trakt.tv/oauth/authorize?scope=",
2726
token: "https://api.trakt.tv/oauth/token",
2827
userinfo: {

packages/core/src/providers/wikimedia.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ export default function Wikimedia<P extends WikimediaProfile>(
169169
type: "oauth",
170170
token: "https://meta.wikimedia.org/w/rest.php/oauth2/access_token",
171171
userinfo: "https://meta.wikimedia.org/w/rest.php/oauth2/resource/profile",
172-
// TODO: is empty scope necessary?
173172
authorization:
174173
"https://meta.wikimedia.org/w/rest.php/oauth2/authorize?scope=",
175174
profile(profile) {

packages/core/src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,6 @@ export interface ResponseInternal<
415415
cookies?: Cookie[]
416416
}
417417

418-
// TODO: rename to AuthConfigInternal
419418
/** @internal */
420419
export interface InternalOptions<TProviderType = ProviderType> {
421420
providers: InternalProvider[]

0 commit comments

Comments
 (0)