You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following the tutorial on Auth.js and I'm getting this error:
Property 'authorization' does not exist on type '(<P extends GoogleProfile>(options: OAuthUserConfig<P>) => OAuthConfig<P>) | ((config: OAuthUserConfig<GitHubProfile> & { ...; }) => OAuthConfig<...>)'. Property 'authorization' does not exist on type '<P extends GoogleProfile>(options: OAuthUserConfig<P>) => OAuthConfig<P>'.
The text was updated successfully, but these errors were encountered:
benjiroooo
added
bug
Something isn't working
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Apr 15, 2024
Environment
System:
OS: macOS 14.2.1
CPU: (8) arm64 Apple M2
Memory: 338.44 MB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.7.2 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.5.0 - /opt/homebrew/bin/npm
pnpm: 8.15.4 - /opt/homebrew/bin/pnpm
Browsers:
Safari: 17.2.1
npmPackages:
@auth/pg-adapter: ^0.8.0 => 0.8.0
@auth/supabase-adapter: ^0.7.0 => 0.7.0
next: 14.1.4 => 14.1.4
next-auth: ^5.0.0-beta.16 => 5.0.0-beta.16
react: ^18 => 18.2.0
Reproduction URL
https://github.com/benjiroooo/smart-code-tutor
Describe the issue
I'm following the tutorial on Auth.js and I'm getting this error:
Property 'authorization' does not exist on type '(<P extends GoogleProfile>(options: OAuthUserConfig<P>) => OAuthConfig<P>) | ((config: OAuthUserConfig<GitHubProfile> & { ...; }) => OAuthConfig<...>)'. Property 'authorization' does not exist on type '<P extends GoogleProfile>(options: OAuthUserConfig<P>) => OAuthConfig<P>'.
auth.ts
page.tsx
It looks like there's no property called authorization either.
How to reproduce
Follow this tutorial:
https://authjs.dev/guides/pages/signin
Expected behavior
Map out the list of providers given in auth.ts
The text was updated successfully, but these errors were encountered: