Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'Expire Password' and 'Set Recovery Question' functions #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dkuchenski
Copy link

Adding 'Expire Password' and 'Set Recovery Question' functions to rockstar since these features are not currently available in the Okta admin webpage. Expiring the password uses the Okta lifecycle API and setting the recovery/security question (used for account recovery, not MFA) is done with the Okta users API.

@JasonBuckner
Copy link

While is is possible via the API Explorer to POST to /api/v1/users/${userId}/lifecycle/expire_password to Expire a Password, having this functionality directly in the rockstar menu would be a HUGE help.

@gabrielsroka
Copy link
Owner

@JasonBuckner here's a 1-line bookmarklet to expire the current user's password.

drag-and-drop or copy/paste to your bookmarks toolbar:

javascript:$.post(`/api/v1/users/${location.pathname.split("/")[5]}/lifecycle/expire_password?tempPassword=false`)

@JasonBuckner
Copy link

Thank you, Sir!
But there are 226 other Okta Admins with the ability to reset passwords within our Okta instance.
A bookmarklet isn't scalable.

@gabrielsroka
Copy link
Owner

But there are 19,999 other Okta customers who want their pet feature added into rockstar. (Even after they've gotten at least 3 other ways of doing it).

That's not scalable.

@JasonBuckner
Copy link

Touché.

I see 6 Pull Requests here, but I get your point.

rockstar has been a 'game changer' for us, and I am extremely thankful for the tremendous volume of work that it represents (and the even greater amount of work that it has saved). Thank you again for the workaround.

@gabrielsroka
Copy link
Owner

Of those 6, one is a CSS tweak submitted by my friend, one is not for rockstar (this repo is more than just rockstar), the other three or four either don't meet my coding standards or haven't been reviewed. What's your point?

@JasonBuckner
Copy link

I fear I may be coming off as aggressive or pushy; please understand that's not my heart at all. I was noting that although tens of thousands want additional features added to rockstar, only a few have gone to the trouble to code those additions themselves and submit them as a PR.

@gabrielsroka
Copy link
Owner

And I've accepted some of them:
https://github.com/gabrielsroka/gabrielsroka.github.io/pulls?q=is%3Apr+is%3Aclosed

Except for one you previously submitted because you closed it
#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants