def signin_twitter(): try: return auth.signin_oauth(twitter) except: flask.flash( 'Something went wrong with Twitter sign in. Please try again.', category='danger', ) return flask.redirect(flask.url_for('signin', next=util.get_next_url()))
def signin_linkedin(): return auth.signin_oauth(linkedin)
def signin_github(): return auth.signin_oauth(github)
def signin_instagram(): return auth.signin_oauth(instagram)
def signin_dropbox(): scheme = 'https' if config.PRODUCTION else 'http' return auth.signin_oauth(dropbox, scheme)
def signin_bitbucket(): return auth.signin_oauth(bitbucket)
def signin_twitter(): return auth.signin_oauth(twitter)
def signin_vk(): return auth.signin_oauth(vk)
def signin_azure_ad(): return auth.signin_oauth(azure_ad)
def signin_reddit(): return auth.signin_oauth(reddit)
def signin_mailru(): return auth.signin_oauth(mailru)
def signin_dropbox(): return auth.signin_oauth(dropbox, 'https')
def signin_facebook(): return auth.signin_oauth(facebook)
def signin_google(): return auth.signin_oauth(google)
def signin_yahoo(): return auth.signin_oauth(yahoo)
def signin_microsoft(): return auth.signin_oauth(microsoft)
def signin_reddit(): return auth.signin_oauth(reddit, flask.request.scheme)