Identity and Access Management is a critical component of any application or SaaS architecture. I’m currently doing a spike of the Okta solution for an application development project I am on. Okta is a comprehensive solution built on the open OAuth2 and OIDC protocols, as well as supporting more conventional identity federation approaches such as SAML.
Okta has a clean and easy to use web-based Admin interface which can be used to create applications, users, claims, identity providers and more.
During my spike, which was done in a crash and burn test Okta organisation, I had associated my user account with a Microsoft Identity Provider for SSO, and subsequently had issues accessing the Microsoft Account my user was associated with, as a result I managed to lock myself (the super admin) out of the Okta Admin Console.
Being in lockdown and having some free time on my hands, I decided to create a simple open source command line tool which could be used to administer an Okta organisation. The result of this weekend lockdown is
For this project I used the Golang SDK for Okta, along with the Cobra and Viper Golang packages (used by
kubectl and other popular command line utilities). To provide a query interface to JSON response payloads I use GJson.
Will keep adding to this so stay tuned…