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
oAuth - Invalid Credentials #8378
Comments
Same problem for me. AUTH0 configured correctly but still got the reply "Invalid user credentials" and redirected to "../admin/login?reason=INVALID_USER" Attributes are retrieved from AUTH0 but email seems not to be verified. Other apps with similar settings are working fine. Kr |
"Fixed" this problem by using version before latest --> image: directus/directus:9.0.0-rc.94 |
But i can confirm, that i also have the problem with "INVALID_USER". |
Also downgraded to rc.94 and it´s working |
I have the same issue, but downgrading to rc.94 didn't work either. |
be sure to purge docker |
Am not using docker, but have removed package-lock.json and node_modules and it still gives me INVALID_USER. |
Ah nevermind, realized now in my package.json that I need to have |
Same problem here. OAUTH is ok (tested with other software) but directus is giving |
@darioguarascio I struggled with this all morning myself. I have been able to monkeypatch it by adding the following to
As far as I can tell there is some sort of change in the way Google Oauth payloads are either returned or parsed. Since the default auth provider is used to parse the auth payload, it gets angry when there isn't an email there |
@darioguarascio @isaacnass There is already a fix for this that will apparently be released today #8389. As you discovered the issue was that the value |
Preflight Checklist
Describe the Bug
The last update broke the oAuth login.
On Version: 9.0.0-rc.94 everything works fine. On the latest version it throws an error:
myappdirectus | 10:40:39 ⚠️ Invalid user credentials.
FAQ:
I can reproduce the problem.
To Reproduce
Just simply create an own SSO service.
Used docker.
What version of Directus are you using?
directus/directus:9.0.0-rc.95
What version of Node.js are you using?
v14.15.4
What database are you using?
postges
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: