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

fix(authentication-service): added idp server controller for login and discovery endpoint #2131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prernagp
Copy link
Contributor

@prernagp prernagp commented Jul 10, 2024

Description

Added IDP server controller for login and discovery endpoint

Fixes # (issue) #2034

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • Intermediate change (work in progress)

Checklist:

  • Performed a self-review of my own code
  • npm test passes on your machine
  • Code conforms with the style guide
  • API Documentation in code was updated

@prernagp prernagp requested review from Surbhi-sharma1 and a team as code owners July 10, 2024 06:27
Copy link

@sfvishalgupta sfvishalgupta left a comment

Choose a reason for hiding this comment

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

I can not see all the endpoints mentioned here, https://docs.google.com/document/d/1r2v55eC5dbGBsA5ka_JQnzIIO80hdTqA6p8qCRKQmqU/edit
Also please specify and work on key rotation

@prernagp prernagp force-pushed the issue-2034 branch 3 times, most recently from 0550723 to 8aafdb7 Compare July 23, 2024 10:17
Copy link

sonarcloud bot commented Aug 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
10 New issues
C Reliability Rating on New Code (required ≥ A)
9 New Blocker Issues (required ≤ 0)
1 New Bugs (required ≤ 0)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@@ -25,6 +25,7 @@
}
},
"scripts": {
"start": "node -r source-map-support/register .",
Copy link
Contributor

Choose a reason for hiding this comment

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

why this ?

})
req: RefreshTokenRequest,
): Promise<SuccessResponse> {
const token = auth?.replace(/bearer /i, '');
Copy link
Contributor

Choose a reason for hiding this comment

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

Cant we reuse existing code ?

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.

None yet

4 participants