-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
๐ fix: Fix MS Entra ID and Azure AD authorization #4579
Conversation
Add client ID, client secret, and issuer for the Microsoft Entra ID SSO provider in the next-auth library.
@BrandonStudio is attempting to deploy a commit to the LobeChat Community Team on Vercel. A member of the Team first needs to authorize it. |
๐ @BrandonStudio Thank you for raising your pull request and contributing to our Community |
Codecov ReportAll modified and coverable lines are covered by tests โ
Additional details and impacted files@@ Coverage Diff @@
## main #4579 +/- ##
==========================================
+ Coverage 92.26% 92.69% +0.42%
==========================================
Files 493 507 +14
Lines 35748 36450 +702
Branches 2169 2221 +52
==========================================
+ Hits 32982 33786 +804
+ Misses 2766 2664 -102
Flags with carried forward coverage won't be shown. Click here to find out more. โ View full report in Codecov by Sentry. |
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
|
ๅ้ข Azure AD ๆฏไธๆฏๅฐฑๆฒกไบ๏ผ |
Will Azure AD disappear later? |
ๆๆกฃ้ๆ็ๅ๏ผ https://authjs.dev/getting-started/providers/azure-ad ่ฝ็ถๆไธๆธ ๆฅไธบๅฅnext-auth ็ๆฌๅ็บงไปฅๅ่ฟไธช็ฑปๅๅฐฑๆฒกไบ ![]() |
ๆไปฅ้ชไปไปฌauthjs๏ผ
|
So scold them authjs,
|
ๅฏน็๏ผ่่่ฎกๅๅผ็จ๏ผๆฏๅฆๆไธชๆถ้ด่็นๆ่ ๆไธช็ๆฌ็ปไธๅผ็จ |
Yes, consider planning for deprecation, such as deprecating it uniformly at a certain time point or a certain version. |
LobeChat 2.0 ็งป้คๅงใๆๅ ไธไธ่ฟไธชไบ้กนๅฐ่ฟ้: #3283 |
โค๏ธ Great PR @BrandonStudio โค๏ธ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.26.18](v1.26.17...v1.26.18) <sup>Released on **2024-11-03**</sup> #### ๐ Bug Fixes - **misc**: Fix MS Entra ID and Azure AD authorization. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix MS Entra ID and Azure AD authorization, closes [#4579](#4579) ([ced8a08](ced8a08)) </details> <div align="right"> [](#readme-top) </div>
๐ This PR is included in version 1.26.18 ๐ The release is available on: Your semantic-release bot ๐ฆ๐ |
### [Version 1.69.10](v1.69.9...v1.69.10) <sup>Released on **2024-11-03**</sup> #### ๐ Bug Fixes - **misc**: Fix duplicate key value violates unique constraint "slug_user_id_unique" when create inbox session, Fix MS Entra ID and Azure AD authorization. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix duplicate key value violates unique constraint "slug_user_id_unique" when create inbox session, closes [lobehub#4596](https://github.com/bentwnghk/lobe-chat/issues/4596) ([c5af96e](c5af96e)) * **misc**: Fix MS Entra ID and Azure AD authorization, closes [lobehub#4579](https://github.com/bentwnghk/lobe-chat/issues/4579) ([ced8a08](ced8a08)) </details> <div align="right"> [](#readme-top) </div>
่ฟไธชEntra ID่ฟๅทฎไธไธชprofile |
This Entra ID still needs a profile. |
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
Fix MS Entra ID and Azure AD authorization
๐ ่กฅๅ ไฟกๆฏ | Additional Information
refs:
ๆTM็ๆไบ๏ผๆๆกฃ้ๅฅไนไธ่ฏดๅฐฑ็ปไธชISSUER๏ผ่ฐTM็ฅ้ISSUERๆฏไปไนไธ่ฅฟ
่ฟๆ่ฟไธชไธ่ฅฟไน็ๆฏ็ฅไบบไบ๏ผhttps://github.com/lobehub/lobe-chat/pull/4438/files#diff-c7ca9233b0e6ca50520af2931b10c2d06f70efbf56ab9289e62ba44c92243024R17-R18
ไบบๅฎถๅฝๆฐ้ฝๆฒก่ฟ้กน๏ผไฝ ไผ ่ฟๅป่ฝๆๅฅ็จ