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
@@ -92,9 +100,9 @@ Apple doesn't allow you to use localhost in domains or subdomains.
92
100
93
101
The following guides may be helpful:
94
102
95
-
*[How to setup localhost with HTTPS with a Next.js app](https://medium.com/@anMagpie/secure-your-local-development-server-with-https-next-js-81ac6b8b3d68)
103
+
-[How to setup localhost with HTTPS with a Next.js app](https://medium.com/@anMagpie/secure-your-local-development-server-with-https-next-js-81ac6b8b3d68)
96
104
97
-
*[Guide to configuring Sign in with Apple](https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple)
105
+
-[Guide to configuring Sign in with Apple](https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple)
Creating a certificate for localhost is easy with openssl . Just put the following command in the terminal. The output will be two files: localhost.key and localhost.crt.
The OpenSSL executable is distributed with [Git](https://git-scm.com/download/win]9) for Windows.
137
+
The OpenSSL executable is distributed with [Git](https://git-scm.com/download/win]9) for Windows.
131
138
Once installed you will find the openssl.exe file in `C:/Program Files/Git/mingw64/bin` which you can add to the system PATH environment variable if it’s not already done.
You can override any of the options to suit your own use case.
21
+
14
22
## Examples
15
23
16
24
### Basic profile information
25
+
17
26
```js
18
27
importProvidersfrom`next-auth/providers`
19
28
...
@@ -27,7 +36,7 @@ providers: [
27
36
```
28
37
29
38
:::note
30
-
Using the example above, it is only possible to retrieve profile information such as account id, email and name. If you wish to retrieve user data in relation to a specific team, you must provide a different profileUrl and a custom function to handle profile information as shown in the example below.
39
+
Using the example above, it is only possible to retrieve profile information such as account id, email and name. If you wish to retrieve user data in relation to a specific team, you must provide a different profileUrl and a custom function to handle profile information as shown in the example below.
31
40
:::
32
41
33
42
### Profile information in relation to specific team
@@ -57,4 +66,4 @@ providers: [
57
66
58
67
:::tip
59
68
The BASECAMP_TEAM_ID is found in the url path of your team's homepage. For example, if the url is `https://3.basecamp.com/1234567/projects`, then in this case the BASECAMP_TEAM_ID is 1234567
0 commit comments