Skip to content

Commit

Permalink
Merge pull request #2920 from dfinity/jessiemongeon1-patch-2
Browse files Browse the repository at this point in the history
Add Identity sidebar category
  • Loading branch information
jessiemongeon1 authored May 17, 2024
2 parents 1858202 + e65bce4 commit c6d67ed
Show file tree
Hide file tree
Showing 32 changed files with 132 additions and 130 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ URLs:

Open the `NFID_frontend` URL in your web browser. You'll see the following UI:

![UI](default-ui.png)
![UI](../_attachments/default-ui.png)

### Configure NFID

Expand Down Expand Up @@ -281,7 +281,7 @@ To implement the changes, redeploy the canisters with `dfx deploy`.

Now, when you click 'Log me in', you'll get an NFID login prompt:

![NFID login](nfid-ui.png)
![NFID login](../_attachments/nfid-ui.png)

## Resources

Expand Down
Binary file added docs/developer-docs/identity/default-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ If you scroll down, you will see an option to add another passkey and options to
- [Internet Identity specification](/docs/current/references/ii-spec).
- [Internet Identity GitHub repository](https://github.com/dfinity/internet-identity).
- [Internet Identity alternative frontend origins](/docs/current/developer-docs/integrations/internet-identity/alternative-origins).
- [Internet Identity integration](/docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-internet-identity).
- [Internet Identity integration](/docs/current/developer-docs/identity/internet-identity/integrate-internet-identity).
Original file line number Diff line number Diff line change
Expand Up @@ -347,4 +347,3 @@ To start a local development server, run `npm run start`. The output will contai
- [Internet Identity specification](/docs/current/references/ii-spec).
- [Internet Identity GitHub repository](https://github.com/dfinity/internet-identity).
- [Internet Identity alternative frontend origins](/docs/current/developer-docs/integrations/internet-identity/alternative-origins).
- [Internet Identity integration](/docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-internet-identity).
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Check out [how to integrate Internet Identity into your dapp](integrate-internet
- [Internet Identity specification](/docs/current/references/ii-spec).
- [Internet Identity GitHub repository](https://github.com/dfinity/internet-identity).
- [Internet Identity alternative frontend origins](/docs/current/developer-docs/integrations/internet-identity/alternative-origins).
- [Internet Identity integration](/docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-internet-identity).
- [Internet Identity integration](/docs/current/developer-docs/identity/internet-identity/integrate-internet-identity).
Binary file added docs/developer-docs/identity/nfid-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Additional sample projects can be found in the [EVM RPC](../evm-rpc/samples.mdx)

## Integrating with Ethereum

The Ethereum integration can be incorporated into dapps for several purposes, such as authentication, as shown in the [Sign In With Ethereum (SIWE)](siwe.mdx) example. The SIWE exmaple showcases how to use an Ethereum wallet to sign into ICP applications. It creates a 1:1 correlation between Ethereum addresses and ICP principals within the scope of the application. It also guarantees that logging in with an Ethereum wallet will consistently produce the same principal regardless of the client used.
The Ethereum integration can be incorporated into dapps for several purposes, such as authentication, as shown in the [Sign In With Ethereum (SIWE)](/docs/current/developer-docs/identity/authentication/siwe) example. The SIWE exmaple showcases how to use an Ethereum wallet to sign into ICP applications. It creates a 1:1 correlation between Ethereum addresses and ICP principals within the scope of the application. It also guarantees that logging in with an Ethereum wallet will consistently produce the same principal regardless of the client used.

## Using ckETH

Expand Down
28 changes: 17 additions & 11 deletions plugins/utils/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,16 @@ const redirects = `
/docs/current/motoko/intro/ /docs/current/motoko/main/getting-started/motoko-introduction
/docs/current/tutorials/create_your_first_app/ /docs/current/tutorials/developer-journey/
/docs/quickstart/quickstart-intro.html /docs/current/developer-docs/getting-started/install/
/docs/ic-identity-guide/auth-how-to.html /docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-internet-identity/
/docs/ic-identity-guide/auth-how-to.html /docs/current/developer-docs/identity/internet-identity/integrate-internet-identity/
/docs/current/developer-docs/build/agents/agent-dfinity /docs/current/developer-docs/developer-tools/off-chain/agents/overview
/docs/current/tokenomics/identity-auth/what-is-ic-identity /docs/current/developer-docs/web-apps/user-login/internet-identity/overview
/docs/current/tokenomics/identity-auth/what-is-ic-identity /docs/current/developer-docs/identity/internet-identity/overview
/docs/quickstart/local-quickstart.html /docs/current/developer-docs/getting-started/install/
/language-guide/ /docs/current/tutorials/developer-journey/level-0/intro-languages
/docs/current/developer-docs/build/cdks/cdk-rs-dfinity/rust-quickstart /docs/current/developer-docs/backend/rust/
/docs/quickstart/network-quickstart.html /docs/current/developer-docs/getting-started/install/
/docs/token-holders/nns-app-quickstart.html /docs/current/developer-docs/daos/nns/nns-app-quickstart
/developers-guide/quickstart.html /docs/current/tutorials/developer-journey/
/docs/current/tokenomics/identity-auth/auth-how-to /docs/current/developer-docs/web-apps/user-login/internet-identity/overview
/docs/current/tokenomics/identity-auth/auth-how-to /docs/current/developer-docs/identity/internet-identity/overview
/docs/developers-guide/tutorials-intro.html /docs/current/tutorials/developer-journey/
/docs/quickstart/quickstart.html /docs/current/developer-docs/getting-started/install/
/apis/site/proxy /docs/current/references/http-gateway-protocol-spec
Expand Down Expand Up @@ -340,10 +340,10 @@ const redirects = `
/docs/current/developer-docs/production/custom-domain/dns-setup /docs/current/developer-docs/web-apps/custom-domains/dns-setup
/docs/current/developer-docs/backend/design-dapps /docs/current/developer-docs/web-apps/design-dapps
/docs/current/developer-docs/integrations/independently-verifying-ic-signatures /docs/current/developer-docs/web-apps/independently-verifying-ic-signatures
/docs/current/developer-docs/integrations/internet-identity/overview /docs/current/developer-docs/web-apps/user-login/internet-identity/overview
/docs/current/developer-docs/integrations/internet-identity/creating-ii /docs/current/developer-docs/web-apps/user-login/internet-identity/creating-ii
/docs/current/developer-docs/integrations/internet-identity/integrate-identity /docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-internet-identity
/docs/current/developer-docs/integrations/internet-identity/alternative-origins /docs/current/developer-docs/web-apps/user-login/internet-identity/alternative-origins
/docs/current/developer-docs/integrations/internet-identity/overview /docs/current/developer-docs/identity/internet-identity/overview
/docs/current/developer-docs/integrations/internet-identity/creating-ii /docs/current/developer-docs/identity/internet-identity/creating-ii
/docs/current/developer-docs/integrations/internet-identity/integrate-identity /docs/current/developer-docs/identity/internet-identity/integrate-internet-identity
/docs/current/developer-docs/integrations/internet-identity/alternative-origins /docs/current/developer-docs/identity/internet-identity/alternative-origins
/docs/current/developer-docs/http-compatible-canisters/custom-http-canisters /docs/current/developer-docs/web-apps/http-compatible-canisters/custom-http-canisters
/docs/current/developer-docs/http-compatible-canisters/serving-json-over-http /docs/current/developer-docs/web-apps/http-compatible-canisters/serving-json-over-http
/docs/current/developer-docs/http-compatible-canisters/serving-static-assets-over-http /docs/current/developer-docs/web-apps/http-compatible-canisters/serving-static-assets-over-http
Expand Down Expand Up @@ -409,7 +409,7 @@ const redirects = `
/docs/current/developer-docs/integrations/bitcoin/local-development /docs/current/developer-docs/multi-chain/bitcoin/using-btc/local-development
/docs/current/developer-docs/integrations/ethereum/overview /docs/current/developer-docs/multi-chain/ethereum/overview
/docs/current/developer-docs/integrations/ethereum/evm-rpc /docs/current/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister
/docs/current/developer-docs/integrations/ethereum/siwe /docs/current/developer-docs/multi-chain/ethereum/using-eth/siwe
/docs/current/developer-docs/integrations/ethereum/siwe /docs/current/developer-docs/identity/authentication/siwe
/docs/current/developer-docs/integrations/bitcoin/bitcoin-how-it-works /docs/current/references/bitcoin-how-it-works
/docs/current/developer-docs/integrations/bitcoin/ckbtc-reference /docs/current/references/ckbtc-reference
/docs/current/developer-docs/integrations/https-outcalls/https-outcalls-how-it-works /docs/current/references/https-outcalls-how-it-works
Expand All @@ -433,9 +433,9 @@ const redirects = `
/docs/current/references/security/web-app-development-security-best-practices /docs/current/developer-docs/security/web-app-development-security-best-practices
/docs/current/references/security/ /docs/current/developer-docs/security/general-security-best-practices
/docs/current/developer-docs/smart-contracts/overview/development-cycle /docs/current/developer-docs/smart-contracts/overview/canister-lifecycle
/docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-identity /docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-internet-identity
/docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-identity /docs/current/developer-docs/identity/internet-identity/integrate-internet-identity
/docs/current/developer-docs/multi-chain/ethereum/cketh /docs/current/developer-docs/multi-chain/chain-key-tokens/cketh/overview
/docs/current/developer-docs/multi-chain/ethereum/siwe /docs/current/developer-docs/multi-chain/ethereum/using-eth/siwe
/docs/current/developer-docs/multi-chain/ethereum/siwe /docs/current/developer-docs/identity/authentication/siwe
/docs/current/developer-docs/multi-chain/bitcoin/ckbtc /docs/current/developer-docs/multi-chain/chain-key-tokens/ckbtc/overview
/docs/current/developer-docs/multi-chain/bitcoin/read-state /docs/current/developer-docs/multi-chain/bitcoin/using-btc/read-state
/docs/current/developer-docs/multi-chain/bitcoin/submit-transactions /docs/current/developer-docs/multi-chain/bitcoin/using-btc/submit-transactions
Expand Down Expand Up @@ -508,7 +508,13 @@ const redirects = `
/docs/current/developer-docs/multi-chain/ethereum/cketh/overview /docs/current/developer-docs/multi-chain/chain-key-tokens/cketh/overview
/docs/current/developer-docs/multi-chain/ethereum/cketh/making-transactions /docs/current/developer-docs/multi-chain/chain-key-tokens/cketh/making-transactions
/docs/current/developer-docs/multi-chain/ethereum/cketh/using-cketh-in-dapps /docs/current/developer-docs/multi-chain/chain-key-tokens/cketh/using-cketh-in-dapps
/docs/current/developer-docs/web-apps/user-login/internet-identity/overview /docs/current/developer-docs/identity/internet-identity/overview
/docs/current/developer-docs/web-apps/user-login/internet-identity/creating-ii /docs/current/developer-docs/identity/internet-identity/creating-ii
/docs/current/developer-docs/web-apps/user-login/internet-identity/integrate-internet-identity /docs/current/developer-docs/identity/internet-identity/integrate-internet-identity
/docs/current/developer-docs/web-apps/user-login/internet-identity/alternative-origins /docs/current/developer-docs/identity/internet-identity/alternative-origins
/docs/current/developer-docs/web-apps/user-login/nfid /docs/current/developer-docs/identity/authentication/nfid
/docs/current/developer-docs/web-apps/user-login/email-password /docs/current/developer-docs/identity/authentication/email-password
/docs/current/developer-docs/multi-chain/ethereum/using-eth/siwe /docs/current/developer-docs/identity/authentication/siwe
`
.split(/[\r\n]+/)
.map((line) => line.trim().replace(/^#.*$/, "").trim())
Expand Down
Loading

0 comments on commit c6d67ed

Please sign in to comment.