Skip to content

Redirect URI for every route? #8

Description

@andreasciamanna

I'm trying to use this component to authenticate into GitLab.

In GitLab, I must define the redirect URI for the given application. I can define multiple URIs.

The Redirect URI is the URL where users are sent after they authorize with GitLab.

When using this component, the redirect URI is changed to the current route/url.

This forces me to add ever rout of the app in GitLab.

In other words, if I have route myapp.tld/A and myapp.tld/B and both need to access some API in GitLab, I need to define both URLs when creating the oAuth application in GitLab.

It would be perfectly fine to redirect the user to the app's home after getting the authorization from GitLab.

This makes little sense to me.

I'm sure I'm missing something obvious here.

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions