We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c65384d commit df4971aCopy full SHA for df4971a
apps/sim/lib/auth.ts
@@ -831,7 +831,7 @@ export const auth = betterAuth({
831
providerId: 'reddit',
832
clientId: env.REDDIT_CLIENT_ID as string,
833
clientSecret: env.REDDIT_CLIENT_SECRET as string,
834
- authorizationUrl: 'https://www.reddit.com/api/v1/authorize',
+ authorizationUrl: 'https://www.reddit.com/api/v1/authorize?duration=permanent',
835
tokenUrl: 'https://www.reddit.com/api/v1/access_token',
836
userInfoUrl: 'https://oauth.reddit.com/api/v1/me',
837
scopes: ['identity', 'read'],
0 commit comments