Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

chore: remove OIDC server related endpoints #294

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ypukhta
Copy link

@ypukhta ypukhta commented Sep 26, 2022

Issue #286

Signed-off-by: Yevgen Pukhta eugene.pukhta@gmail.com

@cla-bot cla-bot bot added the cla-signed label Sep 26, 2022
@codecov
Copy link

codecov bot commented Sep 26, 2022

Codecov Report

Base: 87.83% // Head: 86.99% // Decreases project coverage by -0.84% ⚠️

Coverage data is based on head (413e568) compared to base (4b6c339).
Patch coverage: 91.95% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #294      +/-   ##
==========================================
- Coverage   87.83%   86.99%   -0.85%     
==========================================
  Files          22       20       -2     
  Lines        2623     1992     -631     
==========================================
- Hits         2304     1733     -571     
+ Misses        210      165      -45     
+ Partials      109       94      -15     
Impacted Files Coverage Δ
component/gnap/as/client.go 83.67% <ø> (ø)
component/gnap/rs/client.go 87.50% <ø> (ø)
pkg/restapi/operation/dependencies.go 0.00% <ø> (ø)
pkg/restapi/operation/operations.go 87.42% <91.82%> (-6.36%) ⬇️
cmd/auth-rest/startcmd/start.go 86.87% <100.00%> (-0.80%) ⬇️
pkg/restapi/controller.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ypukhta ypukhta force-pushed the issue-286 branch 8 times, most recently from 6c3bd2c to 9dbdce5 Compare September 26, 2022 16:24
err := s.registerWallet()
if err != nil {
return nil, err
// TODO TEMP FIX - find the way how to validate Sub
Copy link
Author

Choose a reason for hiding this comment

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

@rolsonquadras please advise how to properly validate s.wallet.UserData.Sub. What should be set at s.expectedUserData?
s.wallet.UserData.Sub is compared with s.expectedUserData inside s.userHasAuthenticatedToTheWallet().

Copy link
Member

Choose a reason for hiding this comment

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

Do we need this test ? We removed login.feature file (used for oidc flows)

Copy link
Author

Choose a reason for hiding this comment

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

This step is invoked from bootstrap_data_gnap.feature Should this feature file be removed as well?

Copy link
Member

Choose a reason for hiding this comment

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

What's the endpoint getting called ? Was it deleted ? There is bootstrap data endpoint inside gnap controller as well. So, we need to refactor the call ?

@ypukhta ypukhta force-pushed the issue-286 branch 2 times, most recently from af19a09 to d4f6826 Compare September 27, 2022 11:59
Signed-off-by: Yevgen Pukhta <eugene.pukhta@gmail.com>
@ypukhta ypukhta marked this pull request as ready for review September 27, 2022 15:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants