Closed
Description
Issue:
The authorization scopes for OAuth are currently hardcoded in the NextAuth.js configuration, limiting operational flexibility across different environments.
Proposed Solution:
Implement the ability to set OAuth scopes through environment variables, allowing for easy adjustments without code changes.
Changes Proposed:
authorization: { params: { scope: process.env.NEXTAUTH_AUTHORIZATION_SCOPE ?? 'openid profile' } },
Metadata
Metadata
Assignees
Labels
No labels