vmware / idm

MIT License
51 stars 30 forks source link

grant type resource owner password credentials in vmware #9

Open soulkeith opened 5 years ago

soulkeith commented 5 years ago

Hi,

I am wondering if vmware idm supports the resource owner password flow. I am currently working on an application, where we want to login directly from a CLI, with idm as an external provider.

Thanks!

soulkeith commented 5 years ago

We are trying to creat and OpendID Connect app using Resource Owner Crdentials Grant into VIDM

fstrudel commented 5 years ago

@soulkeith sorry for the delay. This flow is supported by VMware Identity Manager but to create an OAuth2 client with this grant type, you need to use the API (the UI does not expose that option): https://code.vmware.com/apis/57/idm#!/oauth2/post_createGenericOAuth2Client

Use "password" grant type.

soulkeith commented 5 years ago

Hello Fanny -

Thank you very much. It works. This is really great!!!!

On Mon, Feb 4, 2019 at 5:20 PM Fanny Strudel notifications@github.com wrote:

@soulkeith https://github.com/soulkeith sorry for the delay. This flow is supported by VMware Identity Manager but to create an OAuth2 client with this grant type, you need to use the API (the UI does not expose that option): https://code.vmware.com/apis/57/idm#!/oauth2/post_createGenericOAuth2Client

Use "password" grant type.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vmware/idm/issues/9#issuecomment-460436260, or mute the thread https://github.com/notifications/unsubscribe-auth/As-O7EDoJ1anVY8rooyJEbmkAMF0Ogohks5vKLIigaJpZM4aYu7t .

-- Regards, Soul

soulkeith commented 5 years ago

Hello Fanny -

Thank you very much. It works.

This is really great! Very much appreciated.

Regards, Soul

vmrale commented 4 years ago

@fstrudel Thank you so much for very helpful articles at https://github.com/vmware/idm/wiki. Is it possible to protect an access to vRA 7.6 API endpoints using an external vIDM appliance and OAuth2/OIDC features? Could you direct me how to configure it?

Regards Radek