Is the contents of the auth.ts file supposed to be public? #11861
Unanswered
theogravity
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that when using the next prod build, when accessing my site that uses next-auth, I'm able to see the contents of the
auth.ts
file in one of the chunks. Fortunately when I stepped through it, it didn't seem that the vars for the provider were set (as in my client secret doesn't seem to be leaked).Overall, is this intentional? Using next-auth
5.0.0-beta.20
and next.js 15 RC app routing.I am importing
and using
but it's only via
export default async function()
on apage.tsx
file or in a action method via aroute.ts
file.Beta Was this translation helpful? Give feedback.
All reactions