Skip to content

Development/debug option to stub backend while developing #546

@pvdvreede

Description

@pvdvreede

Hi there,

Just wondering if there is a way to setup a backend, eg google-oauth2 but in development just stub the workflow so that it presents a page where you can put in the username you want to fake, rather than actually going to google. Or perhaps it can be done in the pipeline?

The main thing is I would like to have my template present the correct backend with the same url eg {% url 'social:begin' backend='google-oauth2' %} as it would appear in production, but not actually talk to google when I am developing and testing app. This way there is no dependency on the backend to be up and available while developing.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions