File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ describe("OAuth Authorization", () => {
84
84
describe ( "startAuthorization" , ( ) => {
85
85
const validMetadata = {
86
86
issuer : "https://auth.example.com" ,
87
- authorization_endpoint : "https://auth.example.com/authorize " ,
88
- token_endpoint : "https://auth.example.com/token " ,
87
+ authorization_endpoint : "https://auth.example.com/auth " ,
88
+ token_endpoint : "https://auth.example.com/tkn " ,
89
89
response_types_supported : [ "code" ] ,
90
90
code_challenge_methods_supported : [ "S256" ] ,
91
91
} ;
@@ -131,7 +131,7 @@ describe("OAuth Authorization", () => {
131
131
) ;
132
132
133
133
expect ( authorizationUrl . toString ( ) ) . toMatch (
134
- / ^ h t t p s : \/ \/ a u t h \. e x a m p l e \. c o m \/ a u t h o r i z e \? /
134
+ / ^ h t t p s : \/ \/ a u t h \. e x a m p l e \. c o m \/ a u t h \? /
135
135
) ;
136
136
} ) ;
137
137
Original file line number Diff line number Diff line change @@ -432,13 +432,6 @@ export async function refreshAuthorization(
432
432
433
433
/**
434
434
* Performs OAuth 2.0 Dynamic Client Registration according to RFC 7591.
435
- *
436
- * @param serverUrl - The base URL of the authorization server
437
- * @param options - Registration options
438
- * @param options.metadata - OAuth server metadata containing the registration endpoint
439
- * @param options.clientMetadata - Client metadata for registration
440
- * @returns The registered client information
441
- * @throws Error if the server doesn't support dynamic registration or if registration fails
442
435
*/
443
436
export async function registerClient (
444
437
serverUrl : string | URL ,
You can’t perform that action at this time.
0 commit comments