Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Missing oAuth buttons on "Sign in/up" page #222

@fanningert

Description

@fanningert

Branch: DEV
Last commit: ddb7f55

I configured the oAuth in the app.ini file. On the Configuration page under Admin is the oAuth option enabled, also the Google option.

Here the lines from the app.ini.

[oauth]
ENABLED = true

[oauth.github]
ENABLED = false
CLIENT_ID =
CLIENT_SECRET =
SCOPES = `https://api.github.com/user`
AUTH_URL = `https://github.com/login/oauth/authorize`
TOKEN_URL = `https://github.com/login/oauth/access_token`

; Get client id and secret from
; https://console.developers.google.com/project
[oauth.google]
ENABLED = true
CLIENT_ID = ********************
CLIENT_SECRET = *****************************
SCOPES = `https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile`
AUTH_URL = `https://accounts.google.com/o/oauth2/auth`
TOKEN_URL = `https://accounts.google.com/o/oauth2/token`

In the logs is no error visible.

Info: I also don't see it on the http://try.gogits.org/ webpage.

Have I missed something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions