Code review comments
This commit is contained in:
parent
c0ebe90154
commit
44a440854f
1 changed files with 3 additions and 10 deletions
|
|
@ -84,8 +84,8 @@ describe("OAuth Authorization", () => {
|
|||
describe("startAuthorization", () => {
|
||||
const validMetadata = {
|
||||
issuer: "https://auth.example.com",
|
||||
authorization_endpoint: "https://auth.example.com/authorize",
|
||||
token_endpoint: "https://auth.example.com/token",
|
||||
authorization_endpoint: "https://auth.example.com/auth",
|
||||
token_endpoint: "https://auth.example.com/tkn",
|
||||
response_types_supported: ["code"],
|
||||
code_challenge_methods_supported: ["S256"],
|
||||
};
|
||||
|
|
@ -131,7 +131,7 @@ describe("OAuth Authorization", () => {
|
|||
);
|
||||
|
||||
expect(authorizationUrl.toString()).toMatch(
|
||||
/^https:\/\/auth\.example\.com\/authorize\?/
|
||||
/^https:\/\/auth\.example\.com\/auth\?/
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue