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

External API call to create users? #14

Open
dfaulken opened this issue May 25, 2015 · 5 comments
Open

External API call to create users? #14

dfaulken opened this issue May 25, 2015 · 5 comments

Comments

@dfaulken
Copy link
Contributor

We had discussed that on interview completion we would automate adding a user to umasstransit.org. Is that still something we want to do or are we keeping this app generic so that it could be adopted by other departments on campus?

Or, option 3, are we keeping it generic but this is something that most folks might want to do after completing an interview (so we could abstract out the API call into a configuration file or something)?

Any thoughts @sherson?

@werebus
Copy link
Member

werebus commented May 26, 2015

My suggestion would be an optional attribute (of the "department"?) that specifies an http callback URL to which we POST a standard, documented user payload if it's defined.

@sherson
Copy link
Member

sherson commented May 26, 2015

I like option 3, and @werebus' suggestion.

@werebus
Copy link
Member

werebus commented May 26, 2015

Of course, it's easy for me to say.

The hard part is actually authentication / authorization. If we open up an endpoint on umasstranst.org that allows POSTing of users, thats essentially account-creation.

We need to figure out some way to limit it to only authorized applications. OAuth? SSL Certificates? Some sort of secret token?

@dfaulken
Copy link
Contributor Author

Hmm, and particularly how to make it configurable.

@dfaulken dfaulken added this to the Deployment milestone Jun 7, 2015
@werebus werebus removed this from the Deployment milestone Dec 17, 2015
@werebus werebus mentioned this issue Jan 15, 2016
@dfaulken
Copy link
Contributor Author

dfaulken commented Jan 4, 2017

As an update, this will likely not be addressed for a couple of years, while we move towards the next implementation of our internal monolith app which stores employee records.

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