globocom / graylog-plugin-oauth2

Oauth2 plugin for graylog project
GNU General Public License v3.0
16 stars 3 forks source link

Can you provide instructions on how to use this with Google OAuth2? #20

Closed trajano closed 5 years ago

trajano commented 5 years ago

I set up the order as follows

image

And the configuration as follows

image

matheusdaluz commented 5 years ago

the correct way:

token server url - http://accounts.google.com/o/oauth2/token user data server url - http://accounts.google.com/o/oauth2/auth // to get the users

trajano commented 5 years ago

Thanks, but I still don't see the "login with google" link when I access the page.

On Jan 9 2019, at 3:07 pm, Matheus da luz notifications@github.com wrote:

the correct way:

token server url - http://accounts.google.com/o/oauth2/token (https://link.getmailspring.com/link/1547064565.local-5aedb773-7080-v1.5.5-b7939d38@getmailspring.com/0?redirect=http%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken&recipient=cmVwbHkrMDAwMWIwMjNjYmE1Mzc5MjE1MjkwNTFjMmQyOWQzMTZiNzc5ZGJlMDdkN2JhZDA2OTJjZjAwMDAwMDAxMTg0ZTE2ODU5MmExNjljZTE3YjExZDcwQHJlcGx5LmdpdGh1Yi5jb20%3D) user data server url - http://accounts.google.com/o/oauth2/auth (https://link.getmailspring.com/link/1547064565.local-5aedb773-7080-v1.5.5-b7939d38@getmailspring.com/1?redirect=http%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Fauth&recipient=cmVwbHkrMDAwMWIwMjNjYmE1Mzc5MjE1MjkwNTFjMmQyOWQzMTZiNzc5ZGJlMDdkN2JhZDA2OTJjZjAwMDAwMDAxMTg0ZTE2ODU5MmExNjljZTE3YjExZDcwQHJlcGx5LmdpdGh1Yi5jb20%3D) // to get the users

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/1547064565.local-5aedb773-7080-v1.5.5-b7939d38@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2Fglobocom%2Fgraylog-plugin-oauth2%2Fissues%2F20%23issuecomment-452802810&recipient=cmVwbHkrMDAwMWIwMjNjYmE1Mzc5MjE1MjkwNTFjMmQyOWQzMTZiNzc5ZGJlMDdkN2JhZDA2OTJjZjAwMDAwMDAxMTg0ZTE2ODU5MmExNjljZTE3YjExZDcwQHJlcGx5LmdpdGh1Yi5jb20%3D), or mute the thread (https://link.getmailspring.com/link/1547064565.local-5aedb773-7080-v1.5.5-b7939d38@getmailspring.com/3?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGwI4o_Qs7Hwbu4jPQ299Ex4MPwDWsEks5vBkwFgaJpZM4Z3_Cy&recipient=cmVwbHkrMDAwMWIwMjNjYmE1Mzc5MjE1MjkwNTFjMmQyOWQzMTZiNzc5ZGJlMDdkN2JhZDA2OTJjZjAwMDAwMDAxMTg0ZTE2ODU5MmExNjljZTE3YjExZDcwQHJlcGx5LmdpdGh1Yi5jb20%3D).

matheusdaluz commented 5 years ago

Your oauth screen should redirect to graylog.

trajano commented 5 years ago

The OAuth screen does not appear when is it supposed to appear?

matheusdaluz commented 5 years ago

the plugin is still in development and unfortunately does not have this functionality

matheusdaluz commented 5 years ago

we use nginx to do that

matheusdaluz commented 5 years ago

i'm fixing the plugin to work with google oauth2.0

trajano commented 5 years ago

Are you releasing it soon?

matheusdaluz commented 5 years ago

https://github.com/globocom/graylog-plugin-oauth2/wiki/How-use-Google-OAuth-with-plugin.

matheusdaluz commented 5 years ago

Steps to work with google.