feat(api): adds automatic keycloak verification#12
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 5 +2
Lines 22 77 +55
=========================================
+ Hits 22 77 +55 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
384fc4a to
ba92fc2
Compare
|
Not entirely sure how to test the "_open_auth_url" portion of the "return_key" function. Do you guys have any ideas? In the mean time, once this and the previous PR are approved, this will be moved to the auth folder, and will also delete the old get_token.py file. |
f184967 to
47bccfa
Compare
JamesDoingStuff
left a comment
There was a problem hiding this comment.
Good work with the tests 👍 What's the process for using this auth mechanism? Or is that to come in future? I tried running a print(return_key(True)) but I only seem to get Client not found from keycloak
47bccfa to
81e49e2
Compare
2d394ab to
591dcf2
Compare
285ef58 to
b96d0d3
Compare
|
I think this is in need of splitting up. To me, it seems that there are three distinct things being added here, each of which should be its own PR:
If you could please have a go at separating, then this should be easier to get reviewed & merged |
cfb5cf7 to
19a8efe
Compare
19a8efe to
224b74e
Compare
JamesDoingStuff
left a comment
There was a problem hiding this comment.
Successfully tested getting a token 👍 Couple of comments added, plus @davehadley's still need addressing
fddbf3a to
1d4a7c5
Compare
1d4a7c5 to
1d7dc29
Compare
241489c to
2f54e60
Compare
Adds keycloak verification to the graphql file