Commit c8839dbd authored by Emiliano Balbuena's avatar Emiliano Balbuena

(chore): Authorize when there's a token only

1 merge request!656WIP: SSO for Pro sites
Pipeline #96002687 running with stages
......@@ -23,7 +23,7 @@ export class SsoService {
`${this.minds.site_url}api/v2/sso/connect`
);
if (connect && connect.status === 'success') {
if (connect && connect.token && connect.status === 'success') {
// TODO: Use headers
const authorization: any = await this.client.post(
'api/v2/sso/authorize',
......
Please register or to comment