Implement SSO sign-up with 10 lines of code
Akarso is an alternative to the WorkOS Admin Portal built on top of Supabase.
Currently if you want to let your customers sign in with SSO via Supabase you have to:
supabase sso add
command with their SSO metadataBy instead using Akarso you can just add a button Setup SSO
in your app that redirects to the Akarso Admin Portal where your customers can setup SSO in a few clicks.
Akarso will guide the user thorough the whole process and will collect the required information to setup SSO in Supabase.
Then akarso will redirect to your application with the SSO provider details (ssoProviderId
and identifier
) in the params, here you can update your team entity in the database with the SSO provider id.
slug.tenants.akarso.co
where your users can setup SSO to your appakarso
npm package, read how to setup it in the dashboard
akarso
npm package lets you create an Admin Portal link where you can redirect your users to setup SSOcallbackUrl
with a token
param, you can use the akarso
npm package to verify the token and get the SSO provider id and identifiersupabase.auth.signInWithSSO
to sign in your users with SSOsecret
for your Akarso account, Akarso can create Admin Portals only if you have this secretcallbackUrl
with a jwt token
in the search params, you can use the akarso
npm package to verify the token against your secret
to make sure the request comes from Akarso. The token payload contains the SSO provider id and custom identifier
slug.akarso.site
akarso
npm package