Hello Helge,

Personal access tokens can be created using web based logins. For this the 
plugins would need to implement Authorization Extension v2 
<https://plugin-api.gocd.org/current/authorization/>, specifically the '
is-valid-user 
<https://plugin-api.gocd.org/current/authorization/#is-valid-user>' call.
You would need to check with the plugin provider for the update plugin.

Thanks
Kritika

On Wednesday, July 15, 2020 at 11:17:05 AM UTC+5:30 [email protected] 
wrote:

> Hello,
>
> in our environment we use a web based login for the corporate single 
> sign-on system. I want to provide GoCD API access to the users but it is 
> not possible for the users to create a personal access token:
> Creation of access token is not supported by the plugin 
> cd.go.authorization.oidc.
>
> Creation of the access token is only possible for users created locally 
> using the Password File Authentication Plugin.
> Is it somehow possible to allow creation of personal access tokens for 
> users with web based logins?
>
> Regards,
> Helge
>
> PS: I do not see any function in the Authorization Plugin API which allows 
> to specify whether or not the plugin allows creation of personal access 
> tokens .. So I think this problem is related to the kind of authorization 
> and not specific to the plugin implementation itself. Am I right?
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/4739ba8d-df8d-4d47-8d75-987b76696f51n%40googlegroups.com.

Reply via email to