lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
9.46k stars 485 forks source link

Enterprise Server support for GitHub oAuth Provider #1282

Closed trbndev closed 8 months ago

trbndev commented 10 months ago

Description

I‘d love to see Enterprise Server support for the GitHub oAuth provider.

Changes that would need to be implemented is being able to provide a custom server URL, which is being used for the authorization URLs (identical with GitHub, only changing the domain is necessary) as well as the API Endpoint for querying user data (https://server.com/api/v3/user)

pilcrowonpaper commented 8 months ago

I'm planning to add new features to the v2 OAuth integration after v3 release. Can you open a new feature request to https://github.com/pilcrowonpaper/arctic instead?