You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: Fix some documentation issue
* chore: Update imports to use named import for Auth in providers
Co-authored-by: Nico Domino <[email protected]>
---------
Co-authored-by: Nico Domino <[email protected]>
* Azure AD returns the profile picture in an ArrayBuffer, instead of just a URL to the image, so our provider converts it to a base64 encoded image string and returns that instead. See: https://docs.microsoft.com/en-us/graph/api/profilephoto-get?view=graph-rest-1.0#examples. The default image size is 48x48 to avoid [running out of space](https://next-auth.js.org/faq#:~:text=What%20are%20the%20disadvantages%20of%20JSON%20Web%20Tokens%3F) in case the session is saved as a JWT.
80
85
* :::
81
86
*
82
-
* In `pages/api/auth/[...nextauth].js` find or add the `AzureAD` entries:
87
+
* In `auth.ts` find or add the `AzureAD` entries:
83
88
*
84
-
* ```js
85
-
* import AzureADProvider from "next-auth/providers/azure-ad";
89
+
* ```ts
90
+
* import AzureAd from "@auth/core/providers/azure-ad"
0 commit comments