Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Redirecting to original URL #10

Description

@jpoles1

Hey, thanks for the great library, really nice to see a passport-like software for Golang.

I'm trying to use the Google authorization scheme, and I'd like to redirect my users to the page from which they started before being required to login. Google forbids any redirect URLs using wildcards and thus I cannot include my source URL in the redirect directly.

I've read that I should be able to include my source URL in the "state" which is returned, but I'm not certain that there's a way to go about doing so using Gocialite functions. Am I missing something? Thanks!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions