File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ interface RegisterURLOptions {
632
632
Notice that you are able to override the ` state ` parameter in ` RegisterURLOptions ` ,
633
633
if not provided then the SDK will assign a random string to this value, this
634
634
applies to the ` login ` method discussed below as well. In addition it must be
635
- noted that interally this method will ensure the resulting registration URL has
635
+ noted that internally this method will ensure the resulting registration URL has
636
636
the ` start_page ` query parameter to ` 'registration' ` .
637
637
638
638
### ` login `
@@ -655,8 +655,6 @@ interface LoginURLOptions {
655
655
state? : string ;
656
656
}
657
657
```
658
- In addition it must be noted that interally this method will ensure that the
659
- resulting login URL has the ` start_page ` query parameter to ` 'login' ` .
660
658
661
659
### ` createOrg `
662
660
This method will return a registration URL, with the ` is_create_org ` parameter
@@ -677,7 +675,7 @@ interface CreateOrgURLOptions {
677
675
state? : string ;
678
676
}
679
677
```
680
- In addition it must be noted that as in the ` registration ` method above interally
678
+ In addition it must be noted that as in the ` registration ` method above internally
681
679
this method will also set the ` start_page ` query parameter to ` 'registration' ` .
682
680
in the resulting URL.
683
681
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ const createAuthCodeWithPKCEClient = (options: PKCEClientOptions) => {
29
29
*/
30
30
const login = async ( options ?: LoginURLOptions ) : Promise < URL > => {
31
31
return await client . createAuthorizationURL ( sessionManager , {
32
- ...options ,
33
- start_page : 'login' ,
32
+ ...options
34
33
} ) ;
35
34
} ;
36
35
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ const createAuthorizationCodeClient = (
30
30
options ?: LoginURLOptions
31
31
) : Promise < URL > => {
32
32
return await client . createAuthorizationURL ( sessionManager , {
33
- ...options ,
34
- start_page : 'login' ,
33
+ ...options
35
34
} ) ;
36
35
} ;
37
36
You can’t perform that action at this time.
0 commit comments