Comments (4)
I've explored OAuth a bit more and I'm 99% sure this is the way to go.
My next issue is finding out why simple API calls are being rejected as not authorised. I wonder if this has something to do with OpenID.
from wunderhub.
Nope not OpenID, I have a sample site working with Basic Auth though.
from wunderhub.
Figured it out and I needed to enable oauth in the Rest UI.
Here is a breif overview of my plans:
- Create new API Role
- Setup permissions for API Role
- User - Get and Patch (unless someone else wants more)
- Configure API endpoints to use OAuth
This is a good start to allowing users to be updated from other systems.
There is an issue with creating new users, they require google sign in, to get around this create a new user using drush and specify the --password flag. The new user will need to be assigned to the API role and then a new consumer key/secret will need to be generated.
from wunderhub.
PR for the work - #66
from wunderhub.
Related Issues (20)
- store object in picture property
- Add a 'biography' field
- Add profile links
- Update install profile to work with latest D8 beta HOT 3
- Improve the Hub editorial UI HOT 3
- Slim down the Hub admin UI
- Add human friendly filters to api endpoints HOT 1
- Add a /api endpoint that documents the API, to support self-discovery HOT 5
- Add a search api endpoint to allow subscribing sites to get search results
- Fix access to /api/menutree/% access - cookie-based access, not basic_auth - doh!
- Move to deployment with Composer HOT 9
- Content translation HOT 2
- Content canonical origin
- Record people’s skills and interests HOT 4
- Staff statuses HOT 3
- SSO via Wunderkraut Google account HOT 4
- Use focal point to crop around team faces for image styles HOT 4
- Expose user data to ElasticSearch HOT 3
- Issues in api/team HOT 1
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 wunderhub.