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: Add NRF Consumer support OAuth2 #16

Merged
merged 8 commits into from
Dec 19, 2023

Conversation

andy89923
Copy link
Contributor

Description

This pull request enables NSSF to use NRF services through the OAuth2 service authorization.

@@ -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
//
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why add this line?

Copy link
Contributor Author

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.

Copy link
Collaborator

@tim-ywliu tim-ywliu Dec 18, 2023

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 //.

@tim-ywliu tim-ywliu merged commit 64e4ed5 into free5gc:main Dec 19, 2023
2 checks passed
@tim-ywliu tim-ywliu mentioned this pull request Dec 19, 2023
@andy89923 andy89923 deleted the feature/oauth-nrf branch February 6, 2024 09:26
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

Successfully merging this pull request may close these issues.

2 participants