Skip to content

Add support for per-request credentials#5

Open
marcospassos wants to merge 2 commits into
masterfrom
feat/credentials-resolver
Open

Add support for per-request credentials#5
marcospassos wants to merge 2 commits into
masterfrom
feat/credentials-resolver

Conversation

@marcospassos

@marcospassos marcospassos commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

Resolves the Croct app ID and API key per request instead of only from static env/config, so a single deployment can serve multiple tenants (e.g. keyed by hostname) by fetching each tenant's credentials from an external service.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@marcospassos marcospassos added the enhancement Improvement of existing features label Jun 10, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@croct/plug-nuxt@5

commit: 1471337

@marcospassos marcospassos force-pushed the feat/credentials-resolver branch from 75cdd2f to 91fc5c1 Compare June 10, 2026 22:14
@marcospassos marcospassos requested a review from YasminGonc June 10, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement of existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant