aleph icon indicating copy to clipboard operation
aleph copied to clipboard

FEATURE: authlib 1.x (breaking changes)

Open stchris opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. The latest version of authlib (1.21.1) tested in 3.15.1-rc1 doesn't quite work with OAuth configured because of breaking changes in the API:

File "/aleph/aleph/views/sessions_api.py", line 101, in oauth_callback
    oauth.provider.framework.set_session_data(request, "state", state.get("state"))
AttributeError: 'FlaskIntegration' object has no attribute 'set_session_data'"

Describe the solution you'd like Check all items from the changelog and this gist to make the latest version of authlib work.

Describe alternatives you've considered For the moment the latest version of authlib is 0.15.5

Additional context

stchris avatar Sep 20 '23 12:09 stchris

Hi, it's still actual problem on 3.15.6

ksotik avatar May 03 '24 17:05 ksotik