-
Notifications
You must be signed in to change notification settings - Fork 74
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
global: move oauthclient into new module structure #13
global: move oauthclient into new module structure #13
Conversation
fec53a3
to
8c3e07c
Compare
3b8f2aa
to
32b8d65
Compare
ping @lnielsen |
|
||
def __init__(self, app=None): | ||
"""Extension initialization.""" | ||
_('A translation string') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clean-up needed here
ff9a30f
to
cd644f4
Compare
8f484a7
to
3b3d4e2
Compare
InvenioAccounts(app) | ||
FlaskOAuth(app) | ||
InvenioOAuthClient(app) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
last 3 lines can be removed
75d2199
to
686ca6a
Compare
@@ -104,28 +131,35 @@ def run_tests(self): | |||
version=version, | |||
description=__doc__, | |||
long_description=readme + '\n\n' + history, | |||
keywords='invenio oauth authentication', | |||
keywords='invenio TODO', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keywords='invenio oauth authentication',
8870626
to
f1f117f
Compare
db.session.commit() | ||
with db.session.begin_nested(): | ||
self.access_token = token | ||
self.secret = secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add db.session.add(self)
in case somebody uses the function directly after initializing the object
* INCOMPATIBLE Updates module structure accordly with Invenio 3. (addresses inveniosoftware#12) * Removes invenio-utils, invenio-ext, invenio-base, Flask-Registry dependencies. * Refactor forms to use Flask-Security instead of custom implementation. * Incorporates UserEXT table from invenio-accounts and renames it to UserIdentity. * NOTE Disables extra fields loading from orcid provider. Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
f1f117f
to
827be00
Compare
No description provided.