MCPcopy Create free account
hub / github.com/pollinations/pollinations / validTokenParams

Function validTokenParams

enter.pollinations.ai/test/oauth-code.test.ts:52–60  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

50}
51
52function validTokenParams(code: string): Record<string, string> {
53 return {
54 grant_type: "authorization_code",
55 code,
56 client_id: "pk_test_client",
57 redirect_uri: REDIRECT_URI,
58 code_verifier: VERIFIER,
59 };
60}
61
62describe("OAuth authorization server metadata", () => {
63 test("GET /.well-known/oauth-authorization-server returns RFC 8414 metadata", async () => {

Callers 1

oauth-code.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected