Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitLab support #629

Open
VeeBack opened this issue Aug 1, 2020 · 5 comments
Open

GitLab support #629

VeeBack opened this issue Aug 1, 2020 · 5 comments

Comments

@VeeBack
Copy link

VeeBack commented Aug 1, 2020

It would be great to have support for GitLab, as it's the primary thing I use

@abitrolly abitrolly mentioned this issue Aug 20, 2021
@abitrolly
Copy link

Looks like it is written in https://nextjs.org/

@abitrolly
Copy link

The URL to login with GitHub is https://backyourstack.com/login?next=%2F and the route is defined here.

.add('login')

However, it is not clear where the handler is which needs to be extended.

@abitrolly
Copy link

Ok. Looks like the entrypoint is inside pages. More specifically

<NextLink
href={{
pathname: '/auth/github',
query: { next: this.props.next },
}}
>

@abitrolly
Copy link

The tutorial confirms that pages is a key concept https://blog.wrappixel.com/next-js-cheat-sheet/ to unwinding the rest.

@abitrolly
Copy link

@znarf is there a point in keeping https://github.com/backyourstack/backyourstack/blob/main/src/routes.js ? I tried to remove some entries and the app still works without them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants