File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
packages/core/src/providers Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 13
13
14
14
import type { OIDCConfig , OIDCUserConfig } from "./index.js"
15
15
16
- /** The returned user profile from Descope when using the profile callback. */
16
+ /** The returned user profile from Descope when using the profile callback.
17
+ * [See Load User](https://docs.descope.com/api/openapi/usermanagement/operation/LoadUser/)
18
+ */
17
19
export interface DescopeProfile {
18
- /** The user Descope ID */
20
+ /** The user's unique Descope ID */
19
21
sub : string
22
+ /** The user's name */
20
23
name : string
24
+ /** The user's email */
21
25
email : string
26
+ /** A boolean indicating if the user's email is verified */
22
27
email_verified : boolean
28
+ /** The user's phone number */
23
29
phone_number : string
30
+ /** A boolean indicating if the user's phone number is verified */
24
31
phone_number_verified : boolean
32
+ /** The user's picture */
25
33
picture : string
26
- /** Custom user's attributes */
34
+ /** The user's custom attributes */
27
35
[ claim : string ] : unknown
28
36
}
29
37
@@ -97,7 +105,7 @@ export default function Descope(
97
105
id : "descope" ,
98
106
name : "Descope" ,
99
107
type : "oidc" ,
100
- clientId : `https://api.descope.com/${ config . clientId } ` ,
108
+ issuer : `https://api.descope.com/${ config . clientId } ` ,
101
109
style : {
102
110
logo : "/descope.svg" ,
103
111
logoDark : "/descope.svg" ,
You can’t perform that action at this time.
0 commit comments