mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:50:19 +08:00
Add Link API.
This commit is contained in:
@ -43,6 +43,10 @@ export function getAuthLogo(provider) {
|
||||
}
|
||||
|
||||
export function getAuthUrl(application, provider, method) {
|
||||
if (application === null || provider === null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
const redirectUri = `${window.location.origin}/callback`;
|
||||
const state = Util.getQueryParamsToState(application.name, provider.name, method);
|
||||
if (provider.type === "Google") {
|
||||
|
Reference in New Issue
Block a user