Skip to content

Commit

Permalink
docs: fix all dead links (#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
Selflocking authored Sep 3, 2023
1 parent 559a91e commit 6dae6e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions idp/facebook.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ type FacebookCheckToken struct {
}

// FacebookCheckTokenData
// Get more detail via: https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow#checktoken
// Get more detail via: https://developers.facebook.com/docs/facebook-login/guides/advanced/manual-flow#checktoken
type FacebookCheckTokenData struct {
UserId string `json:"user_id"`
}

// GetToken use code get access_token (*operation of getting code ought to be done in front)
// get more detail via: https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow#confirm
// get more detail via: https://developers.facebook.com/docs/facebook-login/guides/advanced/manual-flow#confirm
func (idp *FacebookIdProvider) GetToken(code string) (*oauth2.Token, error) {
params := url.Values{}
params.Add("client_id", idp.Config.ClientID)
Expand Down
2 changes: 1 addition & 1 deletion web/src/auth/Web3Auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export function initWeb3Onboard(application, provider) {
description: "Connect a wallet using Casdoor",
recommendedInjectedWallets: [
{name: "MetaMask", url: "https://metamask.io"},
{name: "Coinbase", url: "https://wallet.coinbase.com/"},
{name: "Coinbase", url: "https://www.coinbase.com/wallet"},
],
};

Expand Down

0 comments on commit 6dae6e4

Please sign in to comment.