Comments (3)
Hi, Joseph. Have sent you a link to some CORS configuration examples. But also please note there are issues with the filter in CE 3.x atm. Reports are below:
Due to this we may suggest some way to get around this limitations. I used next rude hack to make my test setup using implicit
flow to work:
<Location /oxauth/seam/resource/restv1/oxauth/userinfo>
ProxyPass http://localhost:8081/oxauth/seam/resource/restv1/oxauth/userinfo retry=5 disablereuse=On
ProxyPassReverse http://localhost:8081/oxauth/seam/resource/restv1/oxauth/userinfo
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization"
Order allow,deny
Allow from all
</Location>
I.e. I just explicitly set list of headers allowed to be used in CORS-aware requests in Apache's config, so it will be added to all responses from userinfo
. Not very elegant, but it worked for me. For 3.1 packages I believe it will be fixed before official release. It also works fine in 2.4.4 without any hacks.
from docs-ce-prod.
CORS has been included in 3.0.2 docs
from docs-ce-prod.
And CORS is included in 3.1.1 docs: https://gluu.org/docs/ce/3.1.1/admin-guide/cors/
from docs-ce-prod.
Related Issues (20)
- Documentation for RO password owner and Super Gluu RO Password Credentials Script
- Update doc of 'Shibboleth SP configuration and installation'
- Update AuthContext Ref docs HOT 1
- Update screenshot in SG docs
- Improve/extend description of param properties applicable for inbound saml HOT 1
- Docs for new Persistence layer
- Database abstraction HOT 1
- Review VM preparation guide
- Know Issues URL on top of docs not available HOT 1
- How to install with nginx? More control over software, please! HOT 1
- Document how to access and manipulate SCIM custom attributes
- Docs For Google SSO Integration incomplete HOT 2
- Add 'how to upgrade Cluster Manager' documentation HOT 2
- Broken link in custom design for shib pages HOT 1
- Add missed oxauth API parameters to docs
- Replace expired oxAuth key - doc HOT 1
- Docs for Couchbase persistence is outdated
- We should have references to javadoc in all versions
- Change 'Configuring service registry' in 4.1 doc HOT 1
- SAML: Document Custom templates
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 docs-ce-prod.