mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
docs: fix all dead links (#2297)
https://github.com/Selflocking/linkchecker/actions/runs/6058177987
This commit is contained in:
parent
559a91e8ee
commit
6dae6e4954
@ -72,13 +72,13 @@ type FacebookCheckToken struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FacebookCheckTokenData
|
// 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 {
|
type FacebookCheckTokenData struct {
|
||||||
UserId string `json:"user_id"`
|
UserId string `json:"user_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetToken use code get access_token (*operation of getting code ought to be done in front)
|
// 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) {
|
func (idp *FacebookIdProvider) GetToken(code string) (*oauth2.Token, error) {
|
||||||
params := url.Values{}
|
params := url.Values{}
|
||||||
params.Add("client_id", idp.Config.ClientID)
|
params.Add("client_id", idp.Config.ClientID)
|
||||||
|
@ -303,7 +303,7 @@ export function initWeb3Onboard(application, provider) {
|
|||||||
description: "Connect a wallet using Casdoor",
|
description: "Connect a wallet using Casdoor",
|
||||||
recommendedInjectedWallets: [
|
recommendedInjectedWallets: [
|
||||||
{name: "MetaMask", url: "https://metamask.io"},
|
{name: "MetaMask", url: "https://metamask.io"},
|
||||||
{name: "Coinbase", url: "https://wallet.coinbase.com/"},
|
{name: "Coinbase", url: "https://www.coinbase.com/wallet"},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user