You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When im accessing a protected page, im getting redirected to the login page https://app.mywp.local/api/auth/signin/wp
When triggering the oauth:
GET https://mywp.local/oauth/authorize/?client_id=veDKK7K9vRSehRKF8kqcc3tfIwezuD5XqHmqaQbF&scope=basic&response_type=code&redirect_uri=https%3A%2F%2Fapp.mywp.local%2Fapi%2Fauth%2Fcallback%wp&state=D5XWE5-l4tEp-CS-gPIYDHe0tE22vFDcnrwLdUr41_A
The response redirect me to
GET https://app.mywp.local/api/auth/callback/wp?code=qhcqmvggj15iuouwwd5sqlyb0iqkgowwnmwjz7ev&state=D5XWE5-l4tEp-CS-gPIYDHe0tE22vFDcnrwLdUr41_A&iframe=break
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have a nuxt application that I would like to authenticate using oauth to my wordpress oauth Server.
Technical info
Wordpress
The exposed endpoints are follow:
Nuxt config
nuxt.config.ts
Custom provider
In my app, I created a custom provider as follow :
Issue
When im accessing a protected page, im getting redirected to the login page
https://app.mywp.local/api/auth/signin/wp
When triggering the oauth:
The response redirect me to
This last query, redirect me to the error page:
I assume there is an error during the callback process. But I have no clue whats the issue.
Logs
Here are the logs. I have no more info.
Does anyone has tips or any clue about this error ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions