SPA + API: Solution Overview

Add Weibo Login to Your App

This guide will show you how to enable your users to log in to your Auth0 app using their Weibo credentials.

API Authentication and Authorization

1. Register Auth0 with Weibo

Begin by registering your Auth0 app with Weibo.

You will be prompted to provide a OpenID Connect (OIDC)callback URL during the registration process. Use https://YOUR_DOMAIN/login/callback.

Find your Auth0 domain name for redirects

If your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, plus For example, if your tenant name were exampleco-enterprises, your Auth0 domain name would be and your redirect URI would be

If you are using custom domains, your Rolesredirect URI will have the following format: https://<YOUR CUSTOM DOMAIN>/login/callback.

After the registration process, Weibo provides you with an appkey and a corresponding appkey secret. Make a note of these values, since you'll need to provide them to Auth0.

Implicit Grant

2. Create and enable your Auth0 connection

Set up the Weibo social connection in Auth0. Make sure you have the App key and the App secret that Weibo provided to you in Step 1.

Authorization Extension

3. Test the connection

At this point, you're ready to test your connection.