Skip to content

DP-499 Integrate SSO#45

Open
tomonorman wants to merge 6 commits intodevelopfrom
DP-499
Open

DP-499 Integrate SSO#45
tomonorman wants to merge 6 commits intodevelopfrom
DP-499

Conversation

@tomonorman
Copy link
Copy Markdown
Contributor

in conjunction with dreamfactorysoftware/df-core@develop...DP-499 of DF Core

}

if (($this->generateToken($credentials) === $credentials['sso_token']) && ($credentials['timestamp'] > (time() - 120))) {
$credentials['is_active'] = 1;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomonorman @krishnapriawan
Can you please elaborate, what's the purpose of this is_active?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part of the laravel Login authentication. Users can be active or inactive (Rather than just deleted). Its set here to check against the db (make sure same there).

But I think you have a point. given the integrate login is a separate process this may not be necessary in this function

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay thanks for clarifying. Up to you whether you want to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants