Commit Graph

7 Commits

Author SHA1 Message Date
Joakim Lindqvist
fe4e30db12 OidcToken - Bug fixes
* Create output directory for temp file if its missing
* Corrected logic for tokens that do not expire (they are set to expire at 0 which we didn't treat correctly)
* Make sure to save the new refresh token we get after using a old one, resolves issues for horde.exe that had to prompt users for logins more often then it should need to.

#jira UE-191887

[CL 27234199 by Joakim Lindqvist in ue5-main branch]
2023-08-21 04:02:20 -04:00
Joakim Lindqvist
9d1e86e2c3 OidcToken Fixes
Support multiple redirect uris (so that we can attempt to use multiple ports)
Handle invalid json in state file, ignoring the state file in those cases
Also made sure to delete oidc token result file after consuming it from the editor

#preflight 63d27dd26730a500ffafd80d
#fyi zousar.shaker

[CL 23882301 by Joakim Lindqvist in ue5-main branch]
2023-01-27 08:12:35 -05:00
Joakim Lindqvist
30fa752f85 OidcToken - Made the query mode output some more useful logging messages and support running without the outfile. Useful if a user wants to inspect the state of our tokens without reading json files.
#preflight none

[CL 23676474 by Joakim Lindqvist in ue5-main branch]
2023-01-13 07:52:45 -05:00
Per Larsson
c4f0fa6307 OidcToken - add provider name to refresh token request
#rb Joakim.Lindqvist
#preflight none
#rnx

[CL 23153019 by Per Larsson in ue5-main branch]
2022-11-16 08:31:26 -05:00
Joakim Lindqvist
efcac1bd0d OidcToken - Changed exit code when determining if a token exists to a positive small number (10) which will avoid inconsistencies between desktop platform in how to handle a negative number.
#preflight 631600b3da1671f9972825c3

[CL 21794535 by Joakim Lindqvist in ue5-main branch]
2022-09-05 10:52:09 -04:00
Joakim Lindqvist
3ccacbb4ea OidcToken - Reworked configuration so that its built into our shared library, and allows for configuration in more traditional ways with Engine, Game and Restricted folders being supported.
Ugs - Updated ugs to read the configuration via the shared library, thus removing the support to read it from UnrealGameSync.ini. Added a ini setting to allow which providers to use though, so that we can have more providers listed in the configuration then UGS will want to care about but also to allow us to control opt in of this feature per project.

#preflight none

[CL 20911818 by Joakim Lindqvist in ue5-main branch]
2022-07-01 04:36:09 -04:00
Joakim Lindqvist
5ddcae87e8 OidcToken - Application to help allocate a refresh token and access token as well as inspect the state of it.
#preflight none

[CL 20872383 by Joakim Lindqvist in ue5-main branch]
2022-06-29 07:31:01 -04:00