Create Auth Oauth Native Token
create_auth_oauth_native_tokenExchange an OAuth authorization code and verifier for a Mealie token, enabling passkey-capable system-browser logins without a browser session cookie.
Instructions
Exchange a native client's authorization code for a Mealie token.
The native client owns PKCE and state, so the exchange happens server-side without a browser session cookie. This lets passkey-capable system-browser logins (e.g. Pocket ID) work, which the cookie-coupled web callback cannot support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| nonce | No | ||
| redirect_uri | Yes | ||
| code_verifier | Yes |