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

Auth: OAuth 2.0 #1003

Open
helloanoop opened this issue Nov 20, 2023 · 55 comments
Open

Auth: OAuth 2.0 #1003

helloanoop opened this issue Nov 20, 2023 · 55 comments

Comments

@helloanoop
Copy link
Contributor

Parent Issue: #119

Support OAuth 2.0

@fuxx
Copy link

fuxx commented Nov 20, 2023

Really important feature <3

@and-rose
Copy link
Contributor

and-rose commented Dec 2, 2023

So far this is the only thing keeping me attached to Postman. Really keen to see this implemented.

@Rens660
Copy link

Rens660 commented Dec 5, 2023

We would love to move to Bruno as well, but since we are requiring grant_type=authorization_code we can't yet. Is there maybe a progress update on this feature? 🙌

@tsteckenborn
Copy link

Dependend on what you need you might want to check this as a workaround for e.g. the Client Credentials flow.

@Rens660 - I've got quite a similar one for Authorization Code. You'll need to do one manual step in the browser, but atleast it returns e.g. the corresponding link as part of an error message. Would you be interested in that?

@Rens660
Copy link

Rens660 commented Dec 11, 2023

Hi @tsteckenborn,
Unfortunately I am stuck with using Authorization Code, but if you would share your workaround for if, I am definitely interested, thanks!

@helloanoop
Copy link
Contributor Author

I will be building OAuth 2.0 functionality in this upcoming live coding stream with Hussain on Dec 16th
https://www.youtube.com/watch?v=ZtNGbglTjps

@tsteckenborn
Copy link

Hi @tsteckenborn, Unfortunately I am stuck with using Authorization Code, but if you would share your workaround for if, I am definitely interested, thanks!

Take a look if that helps to ease the usage

@42shadow42
Copy link

Pretty much the only thing tying me to insomnia. We use the implicit flow on our end.

@mjschlosser8
Copy link

Can't wait for this!

@andifalk
Copy link

andifalk commented Jan 9, 2024

Pretty much the only thing tying me to insomnia. We use the implicit flow on our end.

FYI: Implicit flow is deprecated, should not be used any more (replaced by Authorization code + PKCE)

@42shadow42
Copy link

Pretty much the only thing tying me to insomnia. We use the implicit flow on our end.

FYI: Implicit flow is deprecated, should not be used any more (replaced by Authorization code + PKCE)

Thanks for the heads up, though I don't see Authorization code + PKCE supported here yet either. I'll have to check to see if we have migration plans from Implicit flow.

@billbrinck
Copy link

Is there any progress on the OAuth2 support?

@fuxx
Copy link

fuxx commented Jan 11, 2024

Is there any progress on the OAuth2 support?

@helloanoop can you give any news on your progress or estimation when you continue on OAuth 2 support? The past weeks were very quiet around OAuth 2 😢

@helloanoop
Copy link
Contributor Author

@fuxx

Thanks for your patience.

I was a bit tied up in working on the lang improvements that will be needed to unblock some other features in the pipeline. Given the immense pain point and upvotes on this feature, I will spend some time on this week on this ticket and will share some updates towards the end of this week.

@fuxx
Copy link

fuxx commented Feb 1, 2024

Hej @helloanoop :)

Some weeks passed by and i guess the implementation could be more complicated then expected. Have you gained more insights on how you can proceed?

@helloanoop
Copy link
Contributor Author

Hey @fuxx Appreciate your patience.

A big blocker was the Bru Lang design which I wanted to complete. This was very important to ensure that we have a way forward to introduce more features in the future and seamlessly allow folks to migrate to the new format (expected to be available by end of Feb)

Now there are two things in my pipeline

  1. File Uploads - expected to be launched this week
  2. OAuth 2.0 - expected to launched by next week

I am not touching any other feature (except critical bugs) unless above 2 are launched.

@glitchracer
Copy link

Any news about OAuth 2.0 support?

lohxt1 pushed a commit to lohxt1/bruno that referenced this issue Feb 23, 2024
lohxt1 pushed a commit to lohxt1/bruno that referenced this issue Feb 23, 2024
lohxt1 pushed a commit to lohxt1/bruno that referenced this issue Feb 23, 2024
lohxt1 pushed a commit to lohxt1/bruno that referenced this issue Feb 23, 2024
lohxt1 pushed a commit to lohxt1/bruno that referenced this issue Feb 23, 2024
lohxt1 pushed a commit to lohxt1/bruno that referenced this issue Feb 23, 2024
helloanoop pushed a commit that referenced this issue Feb 26, 2024
…rization code, client credentials (#1654)

* feat(#1003): oauth2 support
Co-authored-by: lohit-1 <lohit@usebruno.com>
@helloanoop
Copy link
Contributor Author

We're on the verge of completing OAuth2 integration, just polishing up the last details.
Set to release tomorrow.

image

lohxt1 added a commit to lohxt1/bruno that referenced this issue Feb 27, 2024
lohxt1 added a commit to lohxt1/bruno that referenced this issue Feb 27, 2024
lohxt1 added a commit to lohxt1/bruno that referenced this issue Feb 27, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
…ble by scripts

The new variable 'credentials' is now available in 'req' object. It is added automatically during request preparation if oauth2 method is used and is value is either evaluated or retrieved from collection oauth2 cache.

usebruno#1999
usebruno#1003
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
…Token action

The actual the authorization request is part of request preparation

usebruno#1999
usebruno#1003
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
…ble by scripts

The new variable 'credentials' is now available in 'req' object. It is added automatically during request preparation if oauth2 method is used and is value is either evaluated or retrieved from collection oauth2 cache.

usebruno#1003
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
…Token action

The actual the authorization request is part of request preparation

usebruno#1003
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
…Token action

The actual the authorization request is part of request preparation

usebruno#1003
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
…Token action

The actual the authorization request is part of request preparation

usebruno#1003
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 14, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
helloanoop pushed a commit that referenced this issue Apr 15, 2024
…from preferences when accessing Auth and Token URLs (#2071)

#1684
#1003
pietrygamat pushed a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
…ble by scripts

The new variable 'credentials' is now available in 'req' object. It is added automatically during request preparation if oauth2 method is used and is value is either evaluated or retrieved from collection oauth2 cache.

usebruno#1003
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
…Token action

The actual the authorization request is part of request preparation

usebruno#1003
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 15, 2024
pietrygamat added a commit to pietrygamat/bruno that referenced this issue Apr 18, 2024
lizziemac pushed a commit to lizziemac/bruno that referenced this issue May 4, 2024
…word credentials grant types -- missing client id & secret for password grant type (usebruno#2051)

* fix(usebruno#1003): content type for client_credentials & password grant types
* feature(usebruno#1003): added client is & secret for password credentials grant type
lizziemac pushed a commit to lizziemac/bruno that referenced this issue May 4, 2024
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

No branches or pull requests