Skip to content

Commit

Permalink
Mastodon: add EXPIRE_APPS_BEFORE, use to update redirect_uris, scopes…
Browse files Browse the repository at this point in the history
…, etc

based on snarfed/oauth-dropins@fd0f316, fixes #1344
  • Loading branch information
snarfed committed Jan 18, 2023
1 parent 28181ab commit bfd8049
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mastodon.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Mastodon source and datastore model classes."""
from datetime import datetime
import logging

from flask import render_template, request
Expand Down Expand Up @@ -42,6 +43,8 @@ class StartBase(oauth_mastodon.Start):
'/mastodon/delete/finish',
'/delete/finish',
)
# https://github.com/snarfed/bridgy/issues/1344
EXPIRE_APPS_BEFORE = datetime(2022, 9, 26)

def app_name(self):
return 'Bridgy'
Expand Down

0 comments on commit bfd8049

Please sign in to comment.