Comments (5)
A quick note, I'm using the latest release, as Hans suggested to another issue, where http was being used, and not https.
from mod_auth_openidc.
I'm able to reproduce this setup just fine, i.e. running on http://localhost:5000 with your original URL and redirect URI settings. Have you checked:
-
that you use the latest code that produces the following warning in the logs at startup:
[warn] oidc_check_config_openid_openidc: the URL scheme (http) of the configured OIDCRedirectURI SHOULD be "https" for security reasons (moreover: some Providers may reject non-HTTPS URLs)
-
that you've set the module to protect a path that includes the redirect_uri
That last thing seems to be your issue because your LocationMatch snippet (which btw. is invisible in the pasted text) does not cover the redirect_uri path v3/OS-FEDERATION/redirect
. You could change the LocationMatch expression or change the OIDCRedirectURI
and update the client settings in the Google API Console.
from mod_auth_openidc.
auth_openidc.conf
says:
# (Mandatory)
# The redirect_uri for this OpenID Connect client; this is a vanity URL
# that must ONLY point to a path on your server protected by this module
# but it must NOT point to any actual content that needs to be served.
#OIDCRedirectURI https://www.example.com/protected/redirect_uri
from mod_auth_openidc.
LocationMatch should be:
LocationMatch /v3/OS-FEDERATION/identity_providers/.?/protocols/.?/auth
Authtype openid-connect
require valid-user
LogLevel debug
OIDCCookie oidcstate
OIDCCookiePath /v3/
LocationMatch
To answer your questions, I am running on the latest build, because I see: [Mon Jun 09 16:47:02.232808 2014] [:warn] [pid 9035:tid 139832918837056] oidc_check_config_openid_openidc: the URL scheme (http) of the configured OIDCRedirectURI SHOULD be "https" for security reasons (moreover: some Providers may reject non-HTTPS URLs)
In my log files.
I'll try hardcoding values for now into the LocationMatch. So I guess the redirect would ideally be:
protected_url/redirect?
from mod_auth_openidc.
Hans, setting the redirect URL to also be protected seems to have fixed the initial issue (hanging after successful sign-in).
I set the LocationMatch to: /v3/OS-FEDERATION/identity_providers/BP/protocols/oidc/auth
And redirect to: http://localhost:5000/v3/OS-FEDERATION/identity_providers/BP/protocols/oidc/auth/redirect
Alright! Getting all the data back! I'll post a follow up if I have any other problems!
from mod_auth_openidc.
Related Issues (20)
- OIDC Session decoding fails when OIDCSessionType client-cookie
- oidc_cache_mutex_lock: apr_global_mutex_lock() failed: Permission Denied (13) HOT 1
- Apache2 OIDC and reverse proxy for tomcat application HOT 1
- oidc_refresh_access_token_before_expiry? HOT 3
- Add support for exp and iat on Request Object
- Custom User-Agent header and/or other headers for back-channel request
- Metrics Parsing Error with Prometheus Input Plugin for Telegraf
- Unauthorized action returns 404 error code instead of 401 HOT 1
- Compile error with release 2.4.15.4 if libhiredis-dev is not installed
- Internal Server Error happens with release 2.4.15.5 and timed out sessions
- Enabling Metrics Endpoint causes Segmentation Faults during Shutdown
- how to redirect user to specific custom login page using OIDC Provider interactions HOT 1
- Backchannel logout stopped working with file-based cache
- Claim header values are encoded in UTF-8 character set as opposed to ISO-8859-1 character set HOT 1
- Build does not support openssl-3 HOT 1
- Generic Multiple Provider in 1 Apache server instance HOT 1
- oidc_cache_set: could NOT store 797 bytes in shm cache backend for key HOT 1
- id_token_hint is missing on logout redirect HOT 1
- support for EdDSA HOT 1
- Support for Resource Owner Password Credentials flow HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mod_auth_openidc.