File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ id : duende-identityserver6
3+ title : DuendeIdentityServer6
4+ ---
5+
6+ ## Documentation
7+
8+ https://docs.duendesoftware.com/identityserver/v6
9+
10+ ## Options
11+
12+ The ** DuendeIdentityServer6 Provider** comes with a set of default options:
13+
14+ - [ DuendeIdentityServer6 Provider options] ( https://github.com/nextauthjs/next-auth/blob/v4/packages/next-auth/src/providers/duende-identity-server6.ts )
15+
16+ You can override any of the options to suit your own use case.
17+
18+ ## Example
19+
20+ ``` js
21+ import DuendeIDS6Provider from " next-auth/providers/duende-identity-server6"
22+
23+ ...
24+ providers: [
25+ DuendeIDS6Provider ({
26+ clientId: process .env .DUENDE_IDS6_ID ,
27+ clientSecret: process .env .DUENDE_IDS6_SECRET ,
28+ issuer: process .env .DUENDE_IDS6_ISSUER ,
29+ })
30+ ]
31+ ...
32+ ```
33+
34+ ## Demo IdentityServer
35+
36+ The configuration below is for the demo server at https://demo.duendesoftware.com/
37+
38+ If you want to try it out, you can copy and paste the configuration below.
39+
40+ You can sign in to the demo service with either <b >bob/bob</b > or <b >alice/alice</b >.
41+
42+ ``` js
43+ import DuendeIDS6Provider from " next-auth/providers/duende-identity-server6"
44+ ...
45+ providers: [
46+ DuendeIDS6Provider ({
47+ clientId: " interactive.confidential" ,
48+ clientSecret: " secret" ,
49+ issuer: " https://demo.duendesoftware.com" ,
50+ })
51+ ]
52+ ...
53+ ```
You can’t perform that action at this time.
0 commit comments