Skip to content

Update google omniauth generator to use Rails Credentials/ENV variables for APP ID and Secrets #124

Open
@coolprobn

Description

@coolprobn

Right now we add a line for the App ID and Secrets like this and ask users to figure out the addition of those values.

config.omniauth :google_oauth2, "APP_ID", "APP_SECRET"

Instead we should take these values from Rails credentials or ENV variables; whatever users prefer.

You can see a similar implementation for this in sentry generator:

Also need to add tests for this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions