foundersandcoders / open-tourism-platform

An open platform to facilitate the creation of apps to promote local tourism and business in Nazareth
MIT License
17 stars 3 forks source link

oauth docs #140

Closed mattlub closed 6 years ago

mattlub commented 6 years ago

heavily based on https://developer.github.com/apps/building-integrations/setting-up-and-registering-oauth-apps/about-authorization-options-for-oauth-apps/

mattlub commented 6 years ago

@des-des added how to get client id etc. made other changes to improve clarity

m4v15 commented 6 years ago

Simple example of the oauth flow from the client side here https://github.com/m4v15/OTP_Oauth

mattlub commented 6 years ago

@m4v15 I would say link to it somewhere in our documentation.

des-des commented 6 years ago

Happy for you too merge this more stuff can be added in another pull if there is more you want to add

m4v15 commented 6 years ago

@mattlub I fixed the merge conflicts (there weren't any locally for me, I don't really understand what happened). I then changed the GET and POST clients docs to be in the auth docs and secured them so that only SUPER's can post and view clients (for now)

m4v15 commented 6 years ago

@mattlub cos I've made some changes I've left it for you to merge

mattlub commented 6 years ago

@m4v15 should that SUPER user stuff really be in the docs? I was under the impressions super users would literally only be us/the product owner

m4v15 commented 6 years ago

@mattlub good point, moved