Commit Graph

11 Commits

Author SHA1 Message Date
joakim lindqvist
483737aa0c OidcToken - Documented setup for common IdPs (Azure and Okta)
TBD on what the best way to set this up using Google is so avoiding to put anything in writing until we decide.

[CL 31001254 by joakim lindqvist in ue5-main branch]
2024-01-30 07:16:10 -05:00
joakim lindqvist
945e9337cf Updated version of Microsoft.Extensions.Configuration used by OidcToken to resolve issue after EpicGames.OIDC got upgraded in 30102405
[FYI] Joe.Kirchoff

[CL 30110091 by joakim lindqvist in ue5-main branch]
2023-12-05 04:41:44 -05:00
zousar shaker
e95a2b2c30 Change default port for autolaunched ZenServer local service to 8558. When connecting to an existing service (not autolaunched), the default port remains what it was before, but will change in the future.
[CL 28665636 by zousar shaker in ue5-main branch]
2023-10-11 11:18:41 -04:00
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
7620f438cc Added documentation on how to configure OidcToken
#preflight none

[CL 23809209 by Joakim Lindqvist in ue5-main branch]
2023-01-23 05:28:08 -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