Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve/extend Documentation #46

Open
ISO50 opened this issue Apr 24, 2017 · 7 comments
Open

Improve/extend Documentation #46

ISO50 opened this issue Apr 24, 2017 · 7 comments
Assignees

Comments

@ISO50
Copy link
Collaborator

ISO50 commented Apr 24, 2017

Decide on what type of documentation do we want to use:

  • are we fine with the readme and api doc as is?
  • do we want to provide additional diagrams/code examples to also explain OAuth 2.0 to a certain degree to really make it easy for the developer to use this lib
@ISO50
Copy link
Collaborator Author

ISO50 commented May 7, 2017

First thing we could do, is to improve the README introduction. After reading the introduction, the following points should be clear for the audience:

  • We have tooling to secure easily your express endpoints
  • We have a TokenCache implementation that encapsulate the process of requesting a token and cache it until it's invalid
  • If user want to use it's own cache all token related low level functions are available as well
    • The oAuth flow's that we support
  • You can use it with Typescript, ES6, ES5 on node and in the browser (at least how to do it with fetch).
  • We should provide links that showcases how to use it to:
    • Secure your REACT / Angular / whatever app login
    • Make secure request from your frontend to the backend
    • How to secure your backend services
    • How to make safe request from service to service

So my plan is to have in the readme just an introduction, release history and migration paths.
And put the more detailed stuff to various HOWTO docs.

@bzums @Retro64 what do you think?

@ISO50
Copy link
Collaborator Author

ISO50 commented May 8, 2017

HOW-TOs:

  • protect server endpoints with oAuth
  • Request Token to communicate with oAuth protected endpoints
    • Use Token Cache .....
  • How to build a login with oAuth Authorization Code flow
  • Mock Tooling
  • Other
    • TBD

@Retro64
Copy link
Collaborator

Retro64 commented May 8, 2017

I like the idea, but we should consider providing typedoc additionally

@bzums bzums removed the os blocker label Sep 29, 2017
@bzums bzums changed the title Discuss Documentation Rewrite Documentation Oct 5, 2017
@bzums
Copy link
Collaborator

bzums commented Oct 5, 2017

Have a look at https://github.com/zalando/zalando-howto-open-source, specifically https://github.com/zalando/zalando-howto-open-source/blob/master/READMEtemplate.md and https://github.com/noffle/art-of-readme to get some ideas about style and structure of the README/documentation

@Retro64
Copy link
Collaborator

Retro64 commented Feb 2, 2018

@bzums @ISO50 Should we tag it with 2.0.0, as we decided to close the ticket on 2.0.0 release?

@bzums
Copy link
Collaborator

bzums commented Feb 6, 2018

During the course of releasing 2.0.0 we tackled some points we wanted to tackle with this ticket. Now the open issue for this ticket would be:

  • add code examples and diagrams to explain OAuth 2.0 (to a certain degree) and how it can supported with this lib

@bzums bzums changed the title Rewrite Documentation Improve/extend Documentation Feb 6, 2018
@Retro64
Copy link
Collaborator

Retro64 commented Jun 4, 2018

We should think about concrete examples for the different configurations within the API doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants