Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Mark user as logged in via an different method #95

Closed
jasonamyers opened this Issue · 5 comments

2 participants

@jasonamyers

I've got a need for two different auth types, one of these is the typically username and password Flask-Security supports. However, the other is a uniquely generated PIN sent to the users phone is there a good way to make flask-security treat users authed via the second method as if they auth with username and password?

@mattupstate
Owner

Currently Flask-Security is not configurable in such a way that you can combine custom auth layers with its own built in methods. The best thing to do at the moment would be to write you're own decorator.

@mattupstate
Owner

Jason, have you settled on a decorator for your custom authentication? I can help you out if you need it.

@jasonamyers
@mattupstate
Owner

@jasonamyers any update on this issue?

@jasonamyers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.