therealchjones / plex-admin

A system to manage a media center ecosystem
https://plex.aleph0.com
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

improve authentication/authorization flow #28

Open therealchjones opened 9 months ago

therealchjones commented 9 months ago

Desired flow:

Current flow:

Other improvements:

therealchjones commented 9 months ago

The marked items have been completed with Apache/mod_auth_openidc configuration. The remaining one has been posted as a question at https://github.com/OpenIDC/mod_auth_openidc/discussions/1153 and may require more backend work (if possible at all).

therealchjones commented 9 months ago

Currently does not require consent screen after the first, with the tradeoff that access tokens/userinfo are not renewed/reauthenticated within the 2 week mod_auth_openidc session. Have not yet found a workaround for that; again, see https://github.com/OpenIDC/mod_auth_openidc/discussions/1153