-
Notifications
You must be signed in to change notification settings - Fork 39
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: Add NRF Consumer support OAuth2 #16
Conversation
@@ -80,7 +80,8 @@ func parseQueryParameter(query url.Values) (plugin.NsselectionQueryParameter, er | |||
|
|||
// Check if the NF service consumer is authorized | |||
// TODO: Check if the NF service consumer is legal with local configuration, or possibly after querying NRF through | |||
// `nf-id` e.g. Whether the V-NSSF is authorized | |||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why add this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the linter error. I'm not sure the reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix like this:
// Check if the NF service consumer is authorized
// TODO: Check if the NF service consumer is legal with local configuration, or possibly after querying NRF through
// `nf-id` e.g. Whether the V-NSSF is authorized
One space only after //
.
Description
This pull request enables NSSF to use NRF services through the OAuth2 service authorization.