Skip to content
Back to skills

Orpc Redirect Response

ASecurity

Standard HTTP redirect response in oRPC OpenAPI.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
toolsnodegitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add ali-master/skills --skill orpc-redirect-response --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orpc Redirect Response?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orpc Redirect Response
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ali-master-orpc-redirect-response/badge)](https://www.skillsdirectory.com/skills/ali-master-orpc-redirect-response)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oRPC Redirect Response
description: Standard HTTP redirect response in oRPC OpenAPI.
license: MIT
metadata:
  author: Ali Torki
  homepage: https://github.com/ali-master
  version: "1.0.0"
---

# Redirect Response

Return a standard HTTP redirect response in oRPC OpenAPI.

## Basic Usage

Combine `successStatus` and `outputStructure`:

```ts
const redirect = os
  .route({
    method: 'GET',
    path: '/redirect',
    successStatus: 307,
    outputStructure: 'detailed'
  })
  .handler(async () => {
    return {
      headers: {
        location: 'https://orpc.dev',
      },
    }
  })
```

## Limitations

When using [OpenAPILink](/docs/openapi/client/openapi-link), oRPC treats the redirect as a normal response. Some environments like browsers may restrict access to the redirect response, **potentially causing errors**. Server environments like Node.js handle this without issue.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.