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

Popup window not closing after logging to any of the social networks #43

Open
ludoNK64 opened this issue Nov 6, 2022 · 7 comments
Open

Comments

@ludoNK64
Copy link

ludoNK64 commented Nov 6, 2022

Using vue 2, I'm able to open the popup window that allows the user to connect via a social account. Unfortunately, the opened window never close, even after successful authentication. This causes the function included in the 'then()' to be never executed.

Capture d’écran de 2022-11-06 10-15-00

@diadal
Copy link
Owner

diadal commented Nov 7, 2022

make sure you create this route below

        {
          path: '/auth/:provider/callback',
          component: {
            template: '<div class="auth-component"></div>'
          }
        },

@hanifrev
Copy link

make sure you create this route below

        {
          path: '/auth/:provider/callback',
          component: {
            template: '<div class="auth-component"></div>'
          }
        },

can you give an example of what's '/auth/:provider/callback' looks alike?

@wolfsyntax
Copy link

I also have a problem, I have separated setup for vue and laravel. A pop windows for login then redirected to specified view but pop up not closed.

@diadal
Copy link
Owner

diadal commented Jul 5, 2023

/auth/:provider/callback

/auth/facebook/callback
/auth/github/callback

@diadal
Copy link
Owner

diadal commented Jul 5, 2023

I also have a problem, I have separated setup for vue and laravel. A pop windows for login then redirected to specified view but pop up not closed.

make sure you create this #43 (comment)

@wolfsyntax
Copy link

make sure you create this route below

        {
          path: '/auth/:provider/callback',
          component: {
            template: '<div class="auth-component"></div>'
          }
        },

I already applied this but no avail, will it work if I have separate project? for aravel as API and VueJS 3.??

@diadal
Copy link
Owner

diadal commented Jul 7, 2023

can you share your code and for the vue3 use https://github.com/diadal/universal-social-auth

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

4 participants