cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
422
Views
10
Helpful
1
Replies

Obtaining access tokens of a site user without user involvement

Anubis1
Level 1
Level 1

Hello,

As a site admin, I would like to know if there is a way to get the access tokens of a user of my webex site, without explicitly asking for the permissions from the user.

This is my requirement. I have a general web application with a bunch of registered users (not related to webex).

  1. I need to allocate a webex user per each of my application users to allow them to create and join meetings while representing my app.
  2. I don't want to allow users creating webex meetings themselves. Only the app should be able to do this.

What I would ideally like to do is, when a new user registered with my app, create a webex user via the Webex RestAPI and obtain webex access token for that user at the same time. Then my application can schedule meetings on behalf of the user on demand.

If I can get the access tokens for my webex site users without their involvement, this solves my problem completely. If this is not possible, but you know a different way to achieve the same, I'd be happy to hear that too.

1 Accepted Solution

Janos Benyovszki
Cisco Employee
Cisco Employee

@Anubis1 generating an access token on behalf of a Webex user and without their consent is currently not possible. You would have to go trough the steps mentioned here https://developer.webex.com/docs/integrations . What you could do, is still create the user, but then use an admin on your site to create a meeting with the REST API on behalf of the user, by specifying the hostEmail parameter. You can find that parameter here https://developer.webex.com/docs/api/v1/meetings/create-a-meeting and description about meetings admin users here https://developer.webex.com/docs/meetings#adminorganization-level-authentication-and-scopes 

View solution in original post

1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@Anubis1 generating an access token on behalf of a Webex user and without their consent is currently not possible. You would have to go trough the steps mentioned here https://developer.webex.com/docs/integrations . What you could do, is still create the user, but then use an admin on your site to create a meeting with the REST API on behalf of the user, by specifying the hostEmail parameter. You can find that parameter here https://developer.webex.com/docs/api/v1/meetings/create-a-meeting and description about meetings admin users here https://developer.webex.com/docs/meetings#adminorganization-level-authentication-and-scopes