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

Authentication url redirect to login page #52

Open
msyadav88 opened this issue Nov 14, 2015 · 1 comment
Open

Authentication url redirect to login page #52

msyadav88 opened this issue Nov 14, 2015 · 1 comment

Comments

@msyadav88
Copy link

I have made setup of php oauth2. But when I try redirect to the auth_url ( got from getAuthenticationUrl() ) , It redirect to the login page of wordpress site ( http://v2.iregister.ie/wp-login.php ) .
Is admin login is mandatory to get the authentication code ?

@msyadav88
Copy link
Author

I read in articles that if the user is not logged in the server then it will redirected to the login screen.
I am trying to do all this process dynamically so is there any way to do all this process dynamically without doing login manually?
Or I think the other option is to authenticate using client credentials. Can you provide me with any demo example of client credentials?

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

1 participant