flask-openid icon indicating copy to clipboard operation
flask-openid copied to clipboard

Add support for stateless

Open TheZoc opened this issue 3 years ago • 1 comments

Hi there,

I did a quick search and found issue #50, where there was a misunderstanding due to a cross reference GitHub automatically made. Would you consider merging the changes from https://github.com/canonical-web-and-design/flask-openid here, so stateless operation is supported?

Thank you in advance

TheZoc avatar Mar 07 '22 22:03 TheZoc

That fork is not in a good shape, for snapcraft.io they went back to the orignal flask-openid with this constructor instead

oid = OpenID(
    store_factory=lambda: None
) 

https://github.com/canonical-web-and-design/snapcraft.io/commit/c341d54744a6f78804ff46fab44d4e9bdbfd68ec

vnznznz avatar Jun 13 '22 07:06 vnznznz

So, it is possible to add stateless support out of the box, perhaps with a param? 😁

TheZoc avatar Jun 13 '22 16:06 TheZoc