Skip to content

feat: add Box provider#498

Merged
atinux merged 7 commits into
atinux:mainfrom
robert-hoffmann:feature/box-oauth
Feb 17, 2026
Merged

feat: add Box provider#498
atinux merged 7 commits into
atinux:mainfrom
robert-hoffmann:feature/box-oauth

Conversation

@robert-hoffmann
Copy link
Copy Markdown
Contributor

implemented box oauth with configurable scopes

Copilot AI review requested due to automatic review settings February 2, 2026 11:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements Box OAuth authentication support with configurable scopes, adding Box.com as a new OAuth provider to the nuxt-auth-utils module.

Changes:

  • Added Box.com OAuth provider implementation with full OAuth 2.0 authorization code flow
  • Integrated Box OAuth configuration into the module's runtime config
  • Updated type definitions and documentation to include the new provider

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/runtime/server/lib/oauth/box.ts New Box OAuth implementation with state-based CSRF protection, comprehensive error handling, and properly typed user/token interfaces
src/runtime/types/oauth-config.ts Added 'box' to the OAuthProvider union type in alphabetical order
src/module.ts Added Box OAuth runtime configuration with clientId, clientSecret, redirectURL, and scope array defaults
README.md Added Box.com to the supported OAuth providers list in alphabetical order

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@robert-hoffmann
Copy link
Copy Markdown
Contributor Author

This implements feature request from

#490

Co-authored-by: Cursor <cursoragent@cursor.com>
@atinux atinux changed the title Feature/box oauth feat: add Box provider Feb 17, 2026
@atinux atinux merged commit d8cd3e6 into atinux:main Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants