The config file is a bit different with the changes to accomodate OAuth 2 authorization code. client_secret and end_of_auth keys are added and need to be blank if not used. Same with scope. authorization_path key for an authorization code workflow. And then just adding first test API to try new OAuth 2 with, Complice
Squashed commit. Not tested yet. Going to test with an https uri after committing this. The workflow for using same reducer for both implicit and authorization code OAuth 2. With middleware playing a big part.
Need to change the type name. But want to see if things work before doing that. This is a minor commit for the workflow for how both implicit and authorization code will both work initially. Practically the same.
Duplicated most of the implicit polling to a new polling function and workflow for authorization code. Mostly the same. Obviously is just getting the ?code={ code }, { code } part though.
Prepping to expand OAuth lib to include authorization code.
- Moved splitQuery function down the page
- Simplified authenticate method.
- Moved constructing the url into its own function.