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] Support Core BB service tokens #231

Open
shurwit opened this issue Aug 22, 2022 · 0 comments · May be fixed by #378
Open

[FEATURE] Support Core BB service tokens #231

shurwit opened this issue Aug 22, 2022 · 0 comments · May be fixed by #378
Assignees
Labels
enhancement New feature or request

Comments

@shurwit
Copy link
Collaborator

shurwit commented Aug 22, 2022

Is your feature request related to a problem? Please describe.
The Core BB has introduced Service Accounts to handle authorization between services: rokwire/core-building-block#306

Describe the solution you'd like
We should support service access tokens for internal APIs and deprecate internal API keys, which are less secure. These internal APIs should be deprecated, but still supported for backwards compatibility. The new APIs should be on the /bbs and /tps subrouters. We will also need to define some permissions for these endpoints.

You can use the new Surveys BB as a reference point for setting up the new BBs and TPS auth handlers; https://github.com/rokwire/surveys-building-block/blob/4b4a9d1aa34f7c4faaab7f1c80f45f8346f9ae4e/driver/web/auth.go#L51

@shurwit shurwit added the enhancement New feature or request label Aug 22, 2022
@shurwit shurwit added this to the v2.0.0 milestone Aug 22, 2022
@shurwit shurwit changed the title [TASK] Support Core BB service tokens [FEATURE] Support Core BB service tokens Aug 22, 2022
@bsdworkin bsdworkin linked a pull request Jun 6, 2023 that will close this issue
18 tasks
@shurwit shurwit removed this from the v2.0.0 milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants