Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luigi Authentication Events #501

Merged
merged 39 commits into from
May 14, 2019
Merged

Conversation

maxmarkus
Copy link
Contributor

@maxmarkus maxmarkus commented Apr 29, 2019

Implemented and created documentation for authentication events:

auth: {
  events: {
    onAuthSuccessful: (settings, authData) => {},
    onAuthError: (settings, err) => {}
    onAuthExpired: (settings) => {},
    onLogout: (settings) => {}
  }
}

Refactored Luigi Core API out to single classes.

@maxmarkus maxmarkus added enhancement New feature or request area/luigi labels Apr 29, 2019
@maxmarkus maxmarkus added this to the Sprint_Swinka_12 milestone Apr 29, 2019
…ents

# Conflicts:
#	core/examples/luigi-sample-angular/package-lock.json
#	core/src/App.html
#	core/src/Authorization.html
#	core/src/providers/auth/oAuth2ImplicitGrant.js
maxmarkus and others added 2 commits May 7, 2019 14:45
…returning undefined, added parameter to throw the received error
Co-Authored-By: maxmarkus <1720843+maxmarkus@users.noreply.github.com>
@maxmarkus maxmarkus dismissed bszwarc’s stale review May 7, 2019 13:41

Basia is in vacation, but approved the rest of it personally.

Copy link
Contributor

@bszwarc bszwarc left a comment

Choose a reason for hiding this comment

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

Very minor comments

docs/authorization-configuration.md Outdated Show resolved Hide resolved
maxmarkus and others added 2 commits May 8, 2019 09:57
Co-Authored-By: maxmarkus <1720843+maxmarkus@users.noreply.github.com>
Copy link
Contributor

@marynaKhromova marynaKhromova left a comment

Choose a reason for hiding this comment

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

lgtm!

@maxmarkus maxmarkus added the WIP Work in progress label May 9, 2019
@maxmarkus
Copy link
Contributor Author

maxmarkus commented May 9, 2019

onAuthError is not working anymore due to some changes that got merged in. small refactoring upcoming.
onAuthSuccess should also respect return false;

@maxmarkus maxmarkus removed the WIP Work in progress label May 13, 2019
@maxmarkus maxmarkus merged commit 78ca905 into SAP:master May 14, 2019
@maxmarkus maxmarkus deleted the 440-luigi-auth-events branch May 14, 2019 13:27
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
onAuthExpired, onAuthError, onAuthSuccess, onLogout implemented and documented, documented custom auth provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants