Skip to content

[Public Apps] Add an Authless Code Template#2985

Open
beloiual wants to merge 3 commits intoab/ExportPublicAppClientfrom
ab/PublicAppsReactTemplate
Open

[Public Apps] Add an Authless Code Template#2985
beloiual wants to merge 3 commits intoab/ExportPublicAppClientfrom
ab/PublicAppsReactTemplate

Conversation

@beloiual
Copy link
Copy Markdown
Contributor

@beloiual beloiual commented Apr 9, 2026

Screen.Recording.2026-04-09.at.5.57.25.PM.mov

What are we adding?

To support Self-Service Public Apps workflows, we want to build a brand new react template that uses the AuthlessClient and automatically sets up the vite proxy to allow for localDev.

How are we adding this

This PR adds a new --authless flag into our CLI generator. This authless flag when selected will generate the react template without any authentication pieces.

This flag will be selected when the user is prompted to choose if this is a "Public Application". If that is prompted, we will not prompt the user for these fields:

  1. ClientId
  2. Scopes

Additionally we will forgo generating any redirect URLs in our code. The authless flag is only selectable if 2.x is selected

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

size-limit report 📦

Path Size Change
@osdk/api 432 B 0%
@osdk/client 24.11 kB 0%
@osdk/oauth 6.54 kB 0%
@osdk/react 513 B 0%
@osdk/react/experimental 50.07 kB 0%
@osdk/react/experimental/admin 2.43 kB 0%
@osdk/react-components 10 B 0%
@osdk/react-components/experimental 481.53 kB 0%
@osdk/react-components/primitives 40.46 kB 0%
@osdk/widget.client-react 10.56 kB 0%

@beloiual beloiual changed the base branch from main to ab/ExportPublicAppClient April 9, 2026 22:18
/**
* Initialize the client to interact with the Platform SDK
*
* If you later add an Ontology SDK to your application, follow the steps in
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

drive by

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Renamed here so that we can check file extensions for .auth and skip generating

"css",
],
words: ["todoapp"],
words: ["todoapp", "authless", "Authless"],
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These words aren't in the dictionary so we need to add them to cspell

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.

1 participant