# /oauth/authorize endpoint only asks for user credentials once, impeding us to login with different users

**URL:** <https://devforum.zoom.us/t/oauth-authorize-endpoint-only-asks-for-user-credentials-once-impeding-us-to-login-with-different-users/89199>\
**Category:** Authentication\
**Created:** [May 29, 2023, 12:19pm UTC](https://devforum.zoom.us/t/oauth-authorize-endpoint-only-asks-for-user-credentials-once-impeding-us-to-login-with-different-users/89199 "2023-05-29T12:19:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielmarcano](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/danielmarcano/32/48918_2.png) [@danielmarcano](https://devforum.zoom.us/u/danielmarcano)\
**Post date:** [May 29, 2023, 12:19pm UTC](https://devforum.zoom.us/t/oauth-authorize-endpoint-only-asks-for-user-credentials-once-impeding-us-to-login-with-different-users/89199/1 "2023-05-29T12:19:54Z")

</div>

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
[https://zoom.us/oauth/authorize](https://zoom.us/oauth/authorize)

**Description**

The /oauth/authorize endpoint only asks for Zoom credentials once. Afterwards, it chooses the previously selected credentials, without asking the user to specifically choose the account they wish to sign-up / sign-in with.

This prevents us from developing the following use-case in our app:

- Allow users to connect / disconnect from Zoom, using OAuth for creating said connection
- User A could login onto our app, connect to Zoom, then logout from our app
- User B could then login onto our app using the same device and browser as User A, and try to connect to Zoom, but without knowing it, the endpoint will automatically sign-in with User A’s Zoom account information, thus creating an issue

**How To Reproduce**

1 - Redirect a user to: [https://zoom.us/oauth/authorize?response\_type=code&client\_id=CLIENT\_ID&redirect\_uri=REDIRECT\_URI](https://zoom.us/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=REDIRECT_URI)

- An OAuth screen will be shown, inviting the user to either accept or reject the OAuth app’s scopes, and to choose the Zoom account they want to log in with

2 - Have that user choose their Zoom account, and log in with it

3 - Redirect a different user to the previous URL, within the same device and browser

- No OAuth screen is shown, and the previously chosen Zoom account for the former user is selected automatically

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [May 31, 2023, 9:04pm UTC](https://devforum.zoom.us/t/oauth-authorize-endpoint-only-asks-for-user-credentials-once-impeding-us-to-login-with-different-users/89199/2 "2023-05-31T21:04:49Z")

</div>

@danielmarcano this is expected, because the user has already authorized the app. If the access token were to be revoked or the user deauthorizes the app, then the OAuth screen will be shown again.

---

<div class="post-metadata">

**Author:** ![danielmarcano](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/danielmarcano/32/48918_2.png) [@danielmarcano](https://devforum.zoom.us/u/danielmarcano)\
**Post date:** [June 5, 2023, 9:18am UTC](https://devforum.zoom.us/t/oauth-authorize-endpoint-only-asks-for-user-credentials-once-impeding-us-to-login-with-different-users/89199/3 "2023-06-05T09:18:38Z")

</div>

Hi, @ojus.zoom, thank you for the reply!

If this is expected, what could we do to fulfill the use-case I have described?

---

<div class="post-metadata">

**Author:** ![johnpisg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnpisg/32/51956_2.png) [@johnpisg](https://devforum.zoom.us/u/johnpisg)\
**Post date:** [September 11, 2023, 8:27pm UTC](https://devforum.zoom.us/t/oauth-authorize-endpoint-only-asks-for-user-credentials-once-impeding-us-to-login-with-different-users/89199/4 "2023-09-11T20:27:11Z")

</div>

Hey @danielmarcano , how did you get this fixed? I am facing the same problem here.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [September 11, 2023, 8:55pm UTC](https://devforum.zoom.us/t/oauth-authorize-endpoint-only-asks-for-user-credentials-once-impeding-us-to-login-with-different-users/89199/5 "2023-09-11T20:55:47Z")

</div>

@johnpisg You can consider revoking an access token: [OAuth for user authorized apps](https://developers.zoom.us/docs/integrations/oauth/#revoking-an-access-token) , if you plan to show the authorization window to your user everytime
