Repository navigation
Conversation
mislav
left a comment
There was a problem hiding this comment.
Hi, thank you for the contribution!
- Could you tell us more about the specifics of the host you are trying to authenticate to? Which extra endpoints/parameters were needed?
- Could the added functionality be described by tests?
- Could you take care of linter failures?
Thank you.
|
@mislav I see already that there are some tests failing (not only linter tests). I am working on a GO based desktop app based on wails. 1.: I have to specify additional query parameters within the browser URL see details here 2.: flow.AccessToken need in my case some additional parameters that has to been posted, this are: see details here 3.: api.PostForm handle payload that is provided via a JSON content type. Please see this as a working draft, we can also close the PR til I have refactored the code and fixed the Tests. |
|
This seems incredibly stale so I'm going to go ahead and close this to get it off our books 🙏 |
Hi,
this is a draft to support other endpoints than GitHub.
In my specific case, I had to use Microsofts Auth Endpoint wich is a bit different than that from GitHub.
See details here.
I needed the support of additional post parameters in the AccessToken function and also to handle JSON based responses.
My solution is not that generic (to support others) as I wanted, because I had to focus on my specific case but maybe it is a good starting point for other auth endpoints.