Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: authentication/connect was removed #893

Merged
merged 1 commit into from Nov 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions next.config.js
Expand Up @@ -33,6 +33,11 @@ async function redirects() {
destination: '/authentication/connect',
permanent: true,
},
{
source: '/authentication/connect',
destination: 'https://blockstack.github.io/stacks.js',
agraebe marked this conversation as resolved.
Show resolved Hide resolved
permanent: true,
},
{ source: '/develop/profiles.html', destination: '/authentication/profiles', permanent: true },
{ source: '/storage/overview.html', destination: '/data-storage/overview', permanent: true },
{ source: '/develop/storage.html', destination: '/data-storage/overview', permanent: true },
Expand Down
3 changes: 1 addition & 2 deletions src/pages/authentication/building-todo-app.md
Expand Up @@ -297,6 +297,5 @@ You'll now see your todos as an authenticated user for the username you've chose

## Learn more

Read [the Stacks Connect guide](/authentication/connect) and
[the stacks.js reference](https://blockstack.github.io/stacks.js/) to learn more about the
Read [the stacks.js reference](https://blockstack.github.io/stacks.js/) to learn more about the
libraries used in this tutorial.
7 changes: 2 additions & 5 deletions src/pages/build-an-app.md
Expand Up @@ -83,10 +83,7 @@ on Blockstack are written in the [Clarity language](https://clarity-lang.org). V
[@page-reference | inline]
| /smart-contracts/public-registry-tutorial

### Connect
### Stacks.js

Connect is a JavaScript library developed by Blockstack PBC that makes it easy to integrate authentication, data storage
[Stacks.js](https://blockstack.github.io/stacks.js/) is a collection of JavaScript library developed by Blockstack PBC that makes it easy to integrate authentication, data storage
and smart contracts functionality in a user-friendly way.

[@page-reference | inline]
| /authentication/connect
2 changes: 1 addition & 1 deletion src/pages/smart-contracts/signing-transactions.md
Expand Up @@ -214,7 +214,7 @@ interface ContractDeployOptions {

## Usage in React Apps

Make sure you follow the [setup instructions](/authentication/connect#in-react-apps) first. When you're using
Make sure you follow the [setup instructions](/authentication/building-todo-app#onboard-into-your-first-stacks-app) first. When you're using
`useConnect`, you don't have to specify `appDetails` - we'll pick that up from your existing configuration.

Each transaction signing method is exposed through the `useConnect` hook, but they're prefixed with `do` instead of
Expand Down