ã¯ããã« Microsoft Entra ID (æ§ç§°ï¼ Azure Active Directory) ã¯ãMicrosoft ãæä¾ããèªè¨¼ã»èªå¯ãµã¼ãã¹ã§ãã ãã®è¨äºã§ã¯ãNext.js ã® API Route ã使ç¨ãã¦ãMicrosoft Entra ID ã«ãã°ã¤ã³ããã¦ã¼ã¶ã¼ãèªè¨¼ããJWT ãã¼ã¯ã³ãåå¾ããæ¹æ³ãç´¹ä»ãã¾ãã JWT ãã¼ã¯ã³ãåå¾ãããã¨ã§ãã¢ããªã±ã¼ã·ã§ã³å ã§ã¦ã¼ã¶ã¼ã®æ å ±ãåå¾ããããMicrosoft Entra ID ã§ä¿è·ããã API (ä¾ï¼ Microsoft Graph) ãå¼ã³åºãããã§ãã¾ãã Microsoft Authentication Library (MSAL) ã¨ã¯ MSAL ã¯ã»ãã¥ãªãã£ã§ä¿è·ããã Web API ã¸ã®ã¢ã¯ã»ã¹ã容æã«å®è£ ããããã®ã©ã¤ãã©ãªã§ãã ããã§å¾ããã JWT ãã¼ã¯ã³ã使ç¨ãããã¨ã§ã
{{#tags}}- {{label}}
{{/tags}}