Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
806
Merge Requests
53
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
c8839dbd
Commit
c8839dbd
authored
12 minutes ago
by
Emiliano Balbuena
Browse files
Options
Download
(chore): Authorize when there's a token only
parent
0c98f7a6
goal/pro-sso
1 merge request
!656
WIP: SSO for Pro sites
Pipeline
#96002687
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/app/common/services/sso.service.ts
View file @
c8839dbd
...
...
@@ -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
'
,
...
...
This diff is collapsed.
Please
register
or
sign in
to comment