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

Authentication / Authorization #121

Closed
cttengsfmta opened this issue Oct 5, 2018 · 5 comments
Closed

Authentication / Authorization #121

cttengsfmta opened this issue Oct 5, 2018 · 5 comments
Milestone

Comments

@cttengsfmta
Copy link
Contributor

Currently the provider API specifies an authorization scheme that points at the Swagger bearer authentication API description. Any request with a valid bearer token is authorized for any particular API endpoint

  • How is authorization and authentication handled in the agency API?
  • How are these tokens obtained?
@thekaveman
Copy link
Collaborator

  • how are these tokens obtained?

There was a related discussion about that over on #81, and the consensus was that that is an implementation detail of the Provider's - MDS just requires support for the bearer token.

@hunterowens
Copy link
Collaborator

yeah, each provider has their own auth to obtain token.

In agency, I think the best approach would be to mirror that. @toddapetersen can you update agency to document auth support?

@hunterowens hunterowens added this to the 0.3.0 milestone Oct 6, 2018
@cttengsfmta
Copy link
Contributor Author

yeah, each provider has their own auth to obtain token.

Can we make it optional, then? We don't want to support a different token exchange scheme for each provider. We don't have the resources for that. We need all the providers to use the same scheme.

@cttengsfmta
Copy link
Contributor Author

@noonhub 's proposal in #81 seems reasonable to us, FWIW.

@hunterowens
Copy link
Collaborator

With #143 merged, I think we can close this issue. Starting with version 0.2.1, all providers should generate an oauth_client credentials flow to allow token creation and sub token creation.

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

No branches or pull requests

3 participants