This repo contains the source code powering https://quickstart.hello.coop/.
Quickstart accelerates getting up and running with Hellō. It will read an existing client_id, or create one.
The Quickstart SPA (Single Page App) is launched by sample apps to acquire a client_id. The developer will log into Hellō and authorize Quickstart to create / read publisher / apps.
Load https://quickstart.hello.coop/
with the following query parameters:
response_uri
- (REQUIRED) the URI that Quickstart will redirect to with theclient_id
query parametersuffix
- (OPTIONAL) a string that will be appended to the suggested name (eg: John's + suffix) for an app to be created. Defaults to "Application"name
- (OPTIONAL) name of the application (suffix
param is ignored)tos_uri
- (OPTIONAL) terms of service linkpp_uri
- (OPTIONAL) privacy policy linkimage_uri
- (OPTIONAL) app logo linkdark_image_uri
- (OPTIONAL) app logo link for dark themeredirect_uri
- (OPTIONAL) one or more space separated OAuthredirect_uri
values to be added to the Production Redirect URIs.http:\\localhost:*
andhttp:\\127.0.0.1
Development Redirect URIs are enabled by defaultintegration
- (OPTIONAL) how the application is created. defaults toquickstart
wildcard_domain
- (OPTIONAL) a boolean value indicating if wildcard domains are enabled in Development Redirect URIsprovider_hint
- (OPTIONAL) a space separated list of recommended providers per provider_hint
Eg: response_uri
= http://localhost:8000/
& suffix
= "Next.js"
https://quickstart.hello.coop/?response_uri=http%3A%2F%2Flocalhost%3A8000%2F&suffix=Next.js
On completion, the Quickstart app will load the response_uri
with client_id
query parameter set to the Hellō Client ID.
http://localhost:8000/quickstart?client_id=9ca12f47-f310-413b-b70f-4428d9448e8d
If the developer has not registered any applications, they will be prompted with a Publisher Name "John Smith's Team" and an Application Name "John Smith's Application". If a suffix
is provided (eg. "Next.js"), then the prompt will be "John Smith's Next.js". Alternatively, the developer will choose an existing application or create a new one with the same prefilled prompt.
If possible, the sample app will have a link to test out the sample app, as well as inform the developer that they can update their Hellō application at https://console.hello.coop