Closed panosru closed 1 year ago
We assume that the external provider (GitHub in your case) expose the email in the callback.
Do you have control over what permission you are granted in GitHub?
I'm checking in GitHub Apps settings and I saw that the app was not "installed" in my account, so I installed it and now it looks like so:
But that did not help. In Permission & events
there are these settings though:
Once I changed the Email addresses
from No access
to Read-only
, it worked.
So, it's not a bug of accent, but when you create a GitHub app you have to give at least read-only access for the authentication to work it seems.
If that is written in the documentation then I apologise, I must've missed it.
Thank you for pointing out the right direction to look for!
Cheers!
Hi, I have an issue with authentication, these are the environment variables in my compose yml file:
I have tried with and without
FORCE_SSL=true
andMIX_ENV=prod
environment variables.When I authenticate I'm redirected back to:
https://accent.<my-domain>/auth/github/callback?code=***&state=***
and I'm getting:And the logs are:
I run the app behind Nginx Reverse Proxy like so:
And this is the setting in my GitHub App:
I have tried with and without checking the
Request user authorization (OAuth) during installation
.Thanks!