OAuth Callback

When the user finished the authentication process, an authorization code will be provided in callback function.

creamSso({
  clientId: 'Replace with your client ID',
  title: '馬上登入Cream帳戶',
  onReceiveAuthCode: (authorizationCode) => {
    // authorization code
  },
});

Last updated