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: Enforce OAuth2 #27

Merged
merged 23 commits into from
Dec 6, 2023
Merged

Feature: Enforce OAuth2 #27

merged 23 commits into from
Dec 6, 2023

Conversation

andy89923
Copy link
Contributor

@andy89923 andy89923 commented Nov 14, 2023

Description

This pull request let NRF service producer to use OAuth2 token to authorize.
Also, when NF Register to NRF, the NRF would let NF knows whether the OAuth2 is required via NFProfile.

Usage

To enable oauth, modify the NRF config file.

configuration:
 sbi:
   oauth: true

Copy link
Contributor

@ianchen0119 ianchen0119 left a comment

Choose a reason for hiding this comment

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

LGTM!

@andy89923
Copy link
Contributor Author

Pending for free5gc/openapi#18. Update for go.mod and go.sumare required.

@tim-ywliu
Copy link
Collaborator

@andy89923 rebase and update openapi hash

@andy89923 andy89923 requested a review from tim-ywliu December 3, 2023 09:35
@andy89923 andy89923 requested a review from tim-ywliu December 5, 2023 08:26
@tim-ywliu tim-ywliu merged commit 9c12ef6 into free5gc:main Dec 6, 2023
@andy89923 andy89923 mentioned this pull request Dec 7, 2023
@andy89923 andy89923 deleted the feat/oauth2 branch December 12, 2023 15:21
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.

4 participants