OAuth2 Token refresh implemented #528
Annotations
3 errors and 2 warnings
Run tests:
invenio_oauthclient/models.py#L1
isort-check
"""Models for storing access tokens and links between users and remote apps."""
-from datetime import datetime, timezone, timedelta
+from datetime import datetime, timedelta, timezone
from flask import current_app
|
Run tests:
invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py#L1
Black format check
--- /home/runner/work/invenio-oauthclient/invenio-oauthclient/invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py 2024-05-15 06:45:01.679340+00:00
+++ /home/runner/work/invenio-oauthclient/invenio-oauthclient/invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py 2024-05-15 06:46:41.333132+00:00
@@ -23,11 +23,12 @@
op.add_column(
"oauthclient_remotetoken",
sa.Column("refresh_token", sqlalchemy_utils.EncryptedType(), nullable=True),
)
op.add_column(
- "oauthclient_remotetoken", sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True)
+ "oauthclient_remotetoken",
+ sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True),
)
def downgrade():
"""Downgrade database."""
|
Run tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading