permitio / permit-cli

A command line utility from Permit.io to work with everything IAM and Authorization. A one-stop-shop to manage all your Authorization tools (OPA, OpenFGA, Cedar, OPAL, AVP...) as well as the Permit Service.
20 stars 27 forks source link

Support Sign Up in the Login Flow #17

Open gemanor opened 3 weeks ago

gemanor commented 3 weeks ago

We want that users without Permit account to be able to create their workspace/project/environment while using the permit login flow.

Acceptance Criteria:

quest-bot[bot] commented 3 weeks ago

New Quest! image New Quest!

A new Quest has been launched in @permitio’s repo. Merge a PR that solves this issue to loot the Quest and earn your reward.


Loot of 150 USD has been stashed in this issue to reward the solver!

🗡 Comment @quest-bot embark to check-in for this Quest and start solving the issue. Other solvers will be notified!

⚔️ When you submit a PR, comment @quest-bot loot #17 to link your PR to this Quest.

Questions? Check out the docs.

35C4n0r commented 3 weeks ago

@quest-bot embark

quest-bot[bot] commented 3 weeks ago

@35C4n0r has embarked on their Quest. 🗡

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

AkashJana18 commented 3 weeks ago

@quest-bot embark

35C4n0r commented 3 weeks ago

@AkashJana18, I have already started working on this issue :)

AkashJana18 commented 3 weeks ago

Hey @35C4n0r you are not assigned to the issue so I think I can work on it too @gemanor can you please confirm ?

gemanor commented 3 weeks ago

Hey, @AkashJana18 , We are working on first come first serve for the issues, so I'm assining @35C4n0r for it.

@35C4n0r please share your rough timeline, so we can add it here

35C4n0r commented 3 weeks ago

@gemanor, I've started working on this but need feedback from you. I tried the current login flow, but with a new user, it leads to issue with auth0 as we are stuck on /consent (check the loom). https://www.loom.com/share/ee95fe8d7de04083b1e950447ae9ae0b?from_recorder=1&focus_title=1 I had a discussion with OrWeis and a huddle OdedBD, they suspect this is an OAuth issue, and suggested a different flow for signup via the CLI. Parallely would it be possible to raise a ticket to auth0 mentioning this issue? Maybe we could get a resolution for this. I would have liked to test the signup flow more, maybe try using their SDK, but I've ran out of emails :)

gemanor commented 2 weeks ago

@35C4n0r I believe it is related to https://auth0.com/docs/get-started/applications/confidential-and-public-applications/user-consent-and-third-party-applications Maybe it needs some debugging to understand why the popup is not visible and showing it.

Can you verify if it's redirect you to localhost before handling to consent page?

Rutik7066 commented 2 weeks ago

@quest-bot embark

quest-bot[bot] commented 2 weeks ago

@Rutik7066 has embarked on their Quest. 🗡

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

quest-bot[bot] commented 2 weeks ago

🧚 @Rutik7066 has submitted PR https://github.com/permitio/permit-cli/issues/27 and is claiming the loot.

Keep up the pace, or you'll be left in the shadows.

cc @35C4n0r

Questions? Check out the docs.

the-johnwick commented 2 weeks ago

@gemanor @35C4n0r Is this issue resolved?

the-johnwick commented 2 weeks ago

@gemanor I have found solution. Can you assign this to me?

gurugubellianil commented 2 weeks ago

@quest-bot embark

quest-bot[bot] commented 2 weeks ago

@gurugubellianil has embarked on their Quest. 🗡

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

the-johnwick commented 1 week ago

@quest-bot embark

coderkhushal commented 1 week ago

@quest-bot embark

quest-bot[bot] commented 1 week ago

@coderkhushal has embarked on their Quest. 🗡

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

vishwamartur commented 1 week ago

@quest-bot embark

quest-bot[bot] commented 1 week ago

@vishwamartur has embarked on their Quest. 🗡

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

quest-bot[bot] commented 1 week ago

🧚 @vishwamartur has submitted PR https://github.com/permitio/permit-cli/issues/32 and is claiming the loot.

Keep up the pace, or you'll be left in the shadows.

cc @gurugubellianil @Rutik7066 @35C4n0r @coderkhushal

Questions? Check out the docs.