poem icon indicating copy to clipboard operation
poem copied to clipboard

Possible to use relative paths with OAuth?

Open l1npengtul opened this issue 2 years ago • 3 comments

Is it possible to use relative paths like this (or a custom checker function)?

#[derive(SecurityScheme)]
#[oai(
    type = "oauth2",
    flows(authorization_code(
        authorization_url = "/authorize",
        token_url = "/proxy",
        scopes = "GithubScopes"
    ))
)]

l1npengtul avatar May 17 '22 03:05 l1npengtul

Is it because your server supports OAuth2?

sunli829 avatar May 17 '22 04:05 sunli829

Yes, I am using oxide auth to make my own OAuth provider and was wondering if poem openapi can plug directly into that.

l1npengtul avatar May 17 '22 06:05 l1npengtul

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 10 '22 02:08 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Aug 15 '22 03:08 github-actions[bot]