parameterize oauth2 provider #268

Open
opened 2024-04-25 17:08:22 -07:00 by scionaltera · 1 comment
scionaltera commented 2024-04-25 17:08:22 -07:00 (Migrated from github.com)

GitHub is hard coded in several places as the OAuth2 provider, but Spring Security supports several providers. It would be best to have a configuration option in mud.env so you can choose which of the supported providers you want to use, and to parameterize all the places in the code that currently refer to GitHub so you can switch without any code changes.

GitHub is hard coded in several places as the OAuth2 provider, but Spring Security supports several providers. It would be best to have a configuration option in `mud.env` so you can choose which of the supported providers you want to use, and to parameterize all the places in the code that currently refer to GitHub so you can switch without any code changes.
scionaltera commented 2024-12-15 11:35:39 -08:00 (Migrated from github.com)

All that has to change for this is in the Freemarker templates there are a couple of hard coded URLs that reference "github". Those need to be able to change based on the OAuth flow that is actually in use.

All that has to change for this is in the Freemarker templates there are a couple of hard coded URLs that reference "github". Those need to be able to change based on the OAuth flow that is actually in use.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
agony-forge/agonyforge#268
No description provided.