Skip to main content
GET
/
v1
/
auth
/
oauth
/
apple
/
begin
Apple
curl --request GET \
  --url https://api.streambird.io/v1/auth/oauth/apple/begin
{
  "redirect_url": "https://appleid.apple.com/auth/authorize?client_id=streambird.oauth&redirect_uri=https%3A%2F%2Fstreambird.dev%2Fv1%2Fauth%2Foauth%2Fcallback%2Fapp_24ydphdixx2ydhF0E5WUFUKWNqi&response_mode=form_post&response_type=code&scope=name%20email&state=apple-9QTXKuEEdj224OJBCa9PQKehd25hFieoGJWnGyIe3aY16p6TkIR8oPiQ1So1QHZM"
}

Query Parameters

public_token
string
required

Required Public token of the App, public token can be exposed in the frontend and client side SDKs.

redirect
boolean

Optional Determines if the response should be a 302 auto redirect instead of returning the redirect_url in the json with a 200 status code.

login_redirect_url
string

Optional If an existing user is found, this URL will be used for redirect upon the completion of the OAuth flow

registration_redirect_url
string

Optional If a new user is created, this URL will be used for redirect upon the completion of the OAuth flow

Response

Apple response

redirect_url
string
required
Minimum length: 1