Hi, Steven Githens and everyone,

The topic might seem scary but hopefully you will think differently after 
reading their use cases.

This question was brought up at creating the new GPII data 
model<https://wiki.gpii.net/w/Keys,_KeyTokens,_and_Preferences> based on 
requirements from “keys and key tokens” 
document<https://docs.google.com/document/d/1UoJzaEVFXEVA_CBfA5WNUHn9Y3j4JSy3tHvqeg19N1k/edit>.
 What shows so far is OAuth2 authorization code and client credential grants 
are not being used by any real use cases, which means we could potentially 
remove their support from the universal repo to simplify the new data model. 
I’m sending this email to the team to find out if this understanding is 
correct, or if there are possibilities that they are still needed in the near 
future.

1. Use case where OAuth2 authorization code grant is needed:

One use case in the near future this grant could be used is the deployment of 
PMT. The question is, which method will be used to deploy PMT:
(1) Will it be deployed as one single centralized GPII hosted website that runs 
behind GPII firewall, has direct access to GPII Cloud database, just as a part 
of GPII Cloud?
(2) Or, will it be deployed and managed outside of the GPII org. It will then 
access cloud data via APIs provided by GPII Cloud. Or even multiple PMT sites 
could exist to access one single GPII Cloud?

(1) doesn’t need the use of OAuth2 authorization code grant and (2) might.

I looked into Steven Githens’ dev PMT 
work<https://github.com/sgithens/gpii-devpmt/tree/GPII-2452>, at the moment 
it’s reading/writing preferences from json files on the file system. I’m not 
sure if its deployment has been thought about. Please chime in if anyone has 
ideas.

2. Use case where OAuth2 client credential grant is needed:
The only use case is First Discovery Tool, which is not really in use as far as 
I know. Please let me know if anyone has a real case of First Discovery Tool 
running.

Once GPII Cloud stops supporting OAuth2 client credential grant, the front end 
of First Discovery Tool will continue to function except at the last step it 
won’t be able to create new preferences sets on GPII Cloud.

Steven Githens again, I remember you did some work to demo First Discovery Tool 
on your machine. Do you need OAuth2 client credential grant continue to be 
supported?

Look forward to your input. Thanks.

Cindy

_______________________________________________
Architecture mailing list
[email protected]
https://lists.gpii.net/mailman/listinfo/architecture

Reply via email to