Skip to content

feat: support POSIT_PRODUCT env var and Connect Cloud for OAuth apps#522

Merged
samperman merged 3 commits intomainfrom
connect-cloud
Apr 13, 2026
Merged

feat: support POSIT_PRODUCT env var and Connect Cloud for OAuth apps#522
samperman merged 3 commits intomainfrom
connect-cloud

Conversation

@samperman
Copy link
Copy Markdown
Collaborator

Intent

Enable this library to work inside Posit Connect Cloud

Approach

Add POSIT_PRODUCT as an alternative to RSTUDIO_PRODUCT for detecting Connect, and add on_connect_cloud() to support apps running in Connect Cloud (POSIT_PRODUCT="CONNECT_CLOUD").

Checklist

  • Does this change update NEWS.md (referencing the connected issue if necessary)?
  • Does this change need documentation? Have you run devtools::document()?
  • Does this change resolve integration test failures for a preview build of Connect? If so (and if you are on the Connect team), please be sure to update the Connect changelog to reflect that users will need to upgrade their version of connectapi.

Add POSIT_PRODUCT as an alternative to RSTUDIO_PRODUCT for detecting
Connect, and add on_connect_cloud() to support apps running in Connect
Cloud (POSIT_PRODUCT="CONNECT_CLOUD").
@samperman samperman requested a review from karawoo April 9, 2026 15:46
Copy link
Copy Markdown
Collaborator

@karawoo karawoo left a comment

Choose a reason for hiding this comment

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

Couple of questions below, could you also please add a bullet to the changelog in NEWS.md?

Comment thread R/connect.R
Comment thread R/connect.R Outdated
@samperman samperman requested a review from karawoo April 9, 2026 18:11
@samperman samperman merged commit 87eee6c into main Apr 13, 2026
23 checks passed
@samperman samperman deleted the connect-cloud branch April 13, 2026 16:46
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