reporangler / auth-service

A webservice to handle authentication for repository access
MIT License
0 stars 0 forks source link

Implement a token manager service #3

Closed christhomas closed 5 years ago

christhomas commented 5 years ago

When logging in a token needs to be created to allow the user to make subrequests without needing all the time to pass the credentials.

If we have a token, we don't login, but merely attempt to perform the action and this will check the token instead and either allow or reject it based on the token validity.

We could create short lived tokens or api-tokens which have longer lives for things like gitlab, github to do actions with certain credentials

It should have the following capabilities: