For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Create a new OAuth client.
secret key.clientSecret. The server returns it only on create and on regenerate.The new client, including its name and redirect URIs.
let client = try await admin.oauth.createClient(
CreateOAuthClient(
clientName: "My OAuth App",
redirectURIs: [URL(string: "https://example.com/callback")!]
)
)
let clientID = client.clientID
let clientSecret = client.clientSecret