Skip to content

After authentication, identity returns "Reverse for 'index' not found."Β #18

Closed

Description

@Trevato

Error points to this line:

return redirect("index") # TODO: Go back to a customizable url

The project I'm working on doesn't have an index and the auth_response() function is hardcoded to redirect to it. I could hack it together to work for this project, but I don't want my solution to be immediately deprecated. Will the TODO be addressed soon?

Activity

  1. rayluo commented on Mar 1, 2024

    @rayluo
    Owner

    Will the TODO be addressed soon?

    Yes. You will receive notification when we close this. Stay tuned.

    Meanwhile, you may consider adding a dummy index page for your project. This workaround can at least unblock you.

  2. self-assigned this
    on Mar 1, 2024
  3. rayluo commented on Mar 4, 2024

    @rayluo
    Owner

    It turns out there is an easy fix. Please try this one and report back the result, @Trevato

    pip install -i https://test.pypi.org/simple/ identity==0.5.2a1

    If it goes well, a new release will be shipped soon.

  4. vespo92 commented on Mar 5, 2024

    @vespo92

    Tagging @Trevato for transparency.

    identity==0.5.2a1 worked out of the box without the dummy index page.

    I did try the identity==0.5.1 that you pushed today on the latest version. That was still providing the same error as above.

    We will use identity==0.5.2a1 in the interim.

  5. rayluo commented on Mar 5, 2024

    @rayluo
    Owner

    Thanks for your confirmation. A new version 0.5.2 version is shipped just now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions