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

Feature/generic oauth provider updates #25

Merged
merged 35 commits into from Mar 12, 2019

Conversation

mwoodffdc
Copy link
Contributor

  • Split out the environment (Environment) and client specific (OpenIdOptions) properties.
  • Split out the OpenIdClient into:
  • Update flow, grant, middleware, revocation and userinfo for these change.
  • Refactor the system tests
  • Add a Google system test
  • Add middleware for Salesforce Identity URLs

Only parts of the specifications required for the Salesforce Client are implemented

Going to refactor the client into separate clients: OAuth2, OAuth2JWT, OpenId and Salesforce
Add the type to the properties to validate
The Salesforce related components will be separated out
Remove all the interfaces that have been moved out and make sure they are exported
Do not export the clients as they are internal and should be used with the cache
Generate certificates in the tests via the pem pacakage
This is largely based upon the Salesforce system tests
@mwoodffdc
Copy link
Contributor Author

mwoodffdc commented Mar 11, 2019

@sfryffdc This should address the comment in #24 (review).

I had a thought that it would be good to have the type of client in the environment too and split out the OAuth2/OAuth2JWT/OpenID/Salesforce related stuff, hence this PR is a bit larger than I intended, but more extensible.

@rcorfieldffdc It should also address your comments of reducing the risk of parameter injection.

sfrycertinia
sfrycertinia previously approved these changes Mar 11, 2019
sfrycertinia
sfrycertinia previously approved these changes Mar 12, 2019
readme.md Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
@mwoodffdc mwoodffdc force-pushed the feature/generic-oauth-provider-updates branch from aaf73bb to cd82f2e Compare March 12, 2019 12:40
@sfrycertinia sfrycertinia merged commit 1d33272 into master Mar 12, 2019
@sfrycertinia sfrycertinia deleted the feature/generic-oauth-provider-updates branch March 12, 2019 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants