openvsx icon indicating copy to clipboard operation
openvsx copied to clipboard

server: refactor: introduce `AuthUser` interface

Open paul-marechal opened this issue 1 year ago • 3 comments
trafficstars

Replace the references to OAuth2User by AuthUser. This allows downstream extenders to more easily contribute alternative OAuth2 providers: If the expected data is stored in different attributes it will be possible to bridge it by implementing the proper AuthUser.

paul-marechal avatar Nov 25 '23 08:11 paul-marechal

Note that there seems to be an issue with formatting in this project...

I'm using VS Code along its Java extension to develop and it often feels like reorganizing or cleaning up imports.

I'd be in favor of keeping the cleanup as part of these changes.

It would be good to look into making auto-formatting part of the build step, maybe as a gradle plugin of some kind?

paul-marechal avatar Nov 25 '23 08:11 paul-marechal

Rebased my branch.

paul-marechal avatar Mar 01 '24 18:03 paul-marechal

@HeikoBoettger Can you share which additional identity provider you were able to implement using this PR?

amvanbaren avatar Apr 29 '24 06:04 amvanbaren