• Resolved MemoNick

    (@memonick)


    Hi! I’m trying to integrate this plugin with my workflow. I am calling the application from https://localhost:3000/auth/local-wordpress. This page redirects to this WordPress plugin for authentication.

    The plan is to then redirect to https://localhost:3000/auth/local-wordpress/callback. The client ID is valid and the authorized redirect URI is identical: https://localhost:3000/auth/local-wordpress/callback.

    The problem is right at the authorization stage: https://localhost/wordpress/wp-content/plugins/miniorange-oauth-20-server/web/moserver/authorize?response_type=code&redirect_uri=https://localhost:3000/auth/local-wordpress/callback&client_id=actual_client_id

    When the application (or I, for that matter) calls the above link, I get a blank 200 response. Nothing more, nothing less. No output, and it doesn’t even redirect. How do I get the plugin to redirect correctly please?

Viewing 1 replies (of 1 total)
  • Plugin Author miniOrange

    (@cyberlord92)

    Nick,

    This looks like htaccess permissions issue. Can you add AllowOverride All in Apache configuration?

    Alternatively, can you try with URL below?

    https://localhost/wordpress/wp-content/plugins/miniorange-oauth-20-server/web/index.php/moserver/authorize?response_type=code&redirect_uri=https://localhost:3000/auth/local-wordpress/callback&client_id=actual_client_id

    Difference: Added index.php in Authorize URL.

    Let me know if you still see the issue.

    Thanks.

    • This reply was modified 6 years, 1 month ago by miniOrange.
Viewing 1 replies (of 1 total)
  • The topic ‘Authorization Not Redirecting’ is closed to new replies.