Redirect to connect an external account
GET
/auth/connect
const url = 'https://api.krakenkey.io/auth/connect?source=microsoft';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.krakenkey.io/auth/connect?source=microsoft'Asks the user to sign in to their existing account (or uses their current SSO session), then sends them to the provider and links that external account to the signed-in user. Afterwards they can sign in with either.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”source
required
string
External account to connect to the signed-in account
Responses
Section titled “Responses”Redirects to Authentik login, then to the provider
Unknown source