-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AWS Cognito VA integration (#445)
* Add AWS Cognito VA integration * Add lock file * Update links and description * Upload logo * Add Changeset * Support sites * Upload preview image * Force HTTPS * Force HTTPS correctly
- Loading branch information
1 parent
6c303a0
commit f83e65e
Showing
9 changed files
with
437 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@gitbook/integration-cognito': patch | ||
--- | ||
|
||
Add AWS Cognito integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": ["@gitbook/eslint-config/integration"] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: cognito | ||
title: AWS Cognito | ||
icon: ./assets/icon.png | ||
previewImages: | ||
- ./assets/preview.png | ||
description: Control who has access to your published documentation with AWS Cognito | ||
|
||
visibility: private | ||
script: ./src/index.tsx | ||
scopes: | ||
- space:metadata:read | ||
- space:visitor:auth | ||
- site:visitor:auth | ||
- space:content:read | ||
organization: gitbook | ||
summary: | | ||
# Overview | ||
Visitor Authentication allows you to publish content behind an authentication wall, so your content is only accessible to people you choose. | ||
This integration lets you control access to your published content as determined by AWS Cognito. | ||
# Configure | ||
Install this integration on a space and then populate the configuration screen with the details of your AWS Cognito application and AWS Cognito account. | ||
You can then open the Share menu, publish the space with Visitor Authentication, choose this integration as the authentication backend, and hit Save. | ||
Your space is now published with Visitor Authentication using AWS Cognito. | ||
categories: | ||
- other | ||
configurations: | ||
space: | ||
componentId: config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "@gitbook/integration-cognito", | ||
"version": "0.0.1", | ||
"private": true, | ||
"dependencies": { | ||
"@gitbook/api": "*", | ||
"@gitbook/runtime": "*", | ||
"itty-router": "^4.0.14", | ||
"@tsndr/cloudflare-worker-jwt": "2.3.2" | ||
}, | ||
"devDependencies": { | ||
"@gitbook/cli": "*" | ||
}, | ||
"scripts": { | ||
"lint": "eslint ./**/*.ts*", | ||
"typecheck": "tsc --noEmit", | ||
"publish-integrations-staging": "gitbook publish .", | ||
"publish-integrations": "gitbook publish ." | ||
} | ||
} |
Oops, something went wrong.