Initialize third party login
Initialize an OAuth-backed (authorization code grant type) login with a third party provider by redirecting to the specified provider login URL to retrieve an authorization code.
Request
- Base URLhttps://.hanko.io/admin
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The name of the third party provider to log in with. Only providers enabled in the configuration via the thirdparty.providers option can be used. Requesting an unsupported provider results in a redirect with error details in the location query.
Base64url encoded string representing the URL the /callback eventually redirects to after successful login with the third party provider. It must match one of the allowed redirect URLs set in the backend configuration through the third_party.allowed_redirect_urls.
Changes
No recorded changes to this operation across all 1 revision of this API.