Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate process for creation of local allauth social media credentials #1374

Open
daveoconnor opened this issue Oct 22, 2024 · 0 comments
Open
Assignees
Labels
Maintenance Things that need updated

Comments

@daveoconnor
Copy link
Collaborator

daveoconnor commented Oct 22, 2024

Every time we set up our system or wipe our database we need to set up local credentials for github & google auth with allauth. This should be automated, probably using opentofu.

@daveoconnor daveoconnor self-assigned this Oct 22, 2024
@daveoconnor daveoconnor converted this from a draft issue Oct 22, 2024
@rbbeeston rbbeeston added the Maintenance Things that need updated label Oct 22, 2024
@rbbeeston rbbeeston moved this to Accepted in website-v2 Oct 22, 2024
@daveoconnor daveoconnor moved this from Accepted to In Progress in website-v2 Oct 25, 2024
@daveoconnor daveoconnor moved this from In Progress to In Review in website-v2 Oct 28, 2024
daveoconnor added a commit that referenced this issue Oct 30, 2024
… (#1383)

This is related to ticket #1374, and simplifies the steps for local
development environments to have a working login flow for github and
google.

The improvements were configuration for the client id and secret for
google and github via .env vars instead of having to go through setting
up "Social Applications" via the admin interface, and automating the
process for creating google cloud projects in which oauth clients can be
created. Documentation was adjusted to fit.

That was as far as this could be automated given limitations on both
Google Cloud Platform and Github's APIs for creating oauth clients/apps.

The terraform process can be improved if these tickets see some progress
or an API comes about to support this.

Google
hashicorp/terraform-provider-google#16452
https://issuetracker.google.com/issues/116182848

Github
integrations/terraform-provider-github#786
@daveoconnor daveoconnor moved this from In Review to Done in website-v2 Nov 4, 2024
GregKaleka pushed a commit that referenced this issue Nov 14, 2024
… (#1383)

This is related to ticket #1374, and simplifies the steps for local
development environments to have a working login flow for github and
google.

The improvements were configuration for the client id and secret for
google and github via .env vars instead of having to go through setting
up "Social Applications" via the admin interface, and automating the
process for creating google cloud projects in which oauth clients can be
created. Documentation was adjusted to fit.

That was as far as this could be automated given limitations on both
Google Cloud Platform and Github's APIs for creating oauth clients/apps.

The terraform process can be improved if these tickets see some progress
or an API comes about to support this.

Google
hashicorp/terraform-provider-google#16452
https://issuetracker.google.com/issues/116182848

Github
integrations/terraform-provider-github#786
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Things that need updated
Projects
Status: Done
Development

No branches or pull requests

2 participants