Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
0ac84f2b
Commit
0ac84f2b
authored
Jun 07, 2019
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add OpenID Connect troubleshooting docs
parent
f08abfcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
doc/administration/auth/oidc.md
doc/administration/auth/oidc.md
+23
-0
No files found.
doc/administration/auth/oidc.md
View file @
0ac84f2b
...
...
@@ -138,3 +138,26 @@ for more details:
}
}
```
### Troubleshooting
If you're having trouble, here are some tips:
1.
Ensure
`discovery`
is set to
`true`
. Setting it to
`false`
requires
specifying all the URLs and keys required to make OpenID work.
1.
Check your system clock to ensure the time is synchronized properly.
1.
As mentioned in
[
the
documentation
](
https://github.com/m0n9oose/omniauth_openid_connect
)
,
make sure
`issuer`
corresponds to the base URL of the Discovery URL. For
example,
`https://accounts.google.com`
is used for the URL
`https://accounts.google.com/.well-known/openid-configuration`
.
1.
The OpenID Connect client uses HTTP Basic Authentication to send the
OAuth2 access token. For example, if you are seeing 401 errors upon
retrieving the
`userinfo`
endpoint, you may want to check your OpenID
Web server configuration. For example, for
[
oauth2-server-php
](
https://github.com/bshaffer/oauth2-server-php
)
, you
may need to
[
add a configuration parameter to
Apache
](
https://github.com/bshaffer/oauth2-server-php/issues/926#issuecomment-387502778
)
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment