-
Notifications
You must be signed in to change notification settings - Fork 40
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
Enable Auth flow for User Account Creation #691
Comments
I should add, we could also have email signup (user creates their own account without an iDP acting for them). |
Thanks - this looks good. I'll add it as a user story to the epic once I have that in GitHub |
Did this get mapped @eryn-muetzel ? I am thinking this could be a good issue for @eleftherias who has exp with Oauth2 / social logins |
This should probably become an epic of its own with a design doc which we should help with rather than throwing @eleftherias into the deep end :-) Dumping what we discussed on a call with @JAORMX and @rdimitrov a little while ago:
|
Turning this from an epic into an issue and adding it as a sub-task of Social Logins |
Currently new users are created with the
medic auth
command. The assumption here, is that a root admin will create the account on the users behalf (or the user and the root user are the same person).When we release our Baby SaSS / MVP, this will not work for folks external to stacklok.
We need away for them to easily create an account using sso / OAuth flows (login with Google/Github/Microsoft etc).
The flow will be to run medic, generate an auth_url and open that within a browser. Similar to the flow we use for enroll.
When we do this, we need to keep in mind that this feature will also be needed by the UI now that we have @davolokh onboard who will be looking to build out our frontend. With the frontend instead of a JWT being saved within a local file to the CLI, it will instead need to be a session cookie used by the browser.
The text was updated successfully, but these errors were encountered: