Skip to content
This repository was archived by the owner on Aug 22, 2022. It is now read-only.

Conversation

@sh-hilden
Copy link

I add OAuth2 Authentication: https://docs.gitlab.com/ce/api/oauth2.html

@ngetchell
Copy link
Owner

How does one generate the Bearer token used in the new functionality? Private Tokens can be generated via UI but I can't seem to find anything that would help you get one.

If the only way to get a bearer token is via an API call I think we need to add a function to get a bearer token.

@sh-hilden
Copy link
Author

Yes you can get it via the OAuth API.
See here: https://docs.gitlab.com/ee/api/oauth2.html#resource-owner-password-credentials-flow

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants