SSOAPI
SSOæ¥ç¶ïŒSAMLãOIDCãããã€ããŒïŒã管çããããã®APIã¯ã©ã€ã¢ã³ãã
æŠèŠ
SSOæ¥ç¶ã®äžèŠ§è¡šç€ºãäœæãæŽæ°ãåé€ãè¡ãããã®ã¡ãœãããæäŸããŸãããšã³ã¿ãŒãã©ã€ãºåãã·ã³ã°ã«ãµã€ã³ãªã³çµ±åã®ããã«ãSAMLãGoogleãMicrosoftãGitHubãããã³ã«ã¹ã¿ã OIDCãããã€ããŒããµããŒãããŸãã
åºæ¬çãªäœ¿ãæ¹
import { HttpService, SSOApi } from 'authsafe-ts';
const user = await oauthService.getUser();
const httpService = new HttpService(user?.access_token);
const ssoApi = new SSOApi(httpService);
const connections = await ssoApi.listConnections();