markbates / markbates/goth

[alicloud] Please Support !!!

Open
#312 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Go
Stars
6.6k
Forks
631
PR merge metrics
No merged PRs in 30d

Description

According to an alicloud OIDC oauth document(Sorry, Chinese only):

The userinfo from alicloud is different from what Goth openidConnect provider required, thus, can someone add a dedicated provider for alicloud oauth?

What alicloud returns:

{
  "exp": 1517539523,
  "sub": "123456789012****",
  "aud": "4567890123456****",
  "iss": "https:\/\/oauth.aliyun.com",//china site
  "iat": 1517535923,
  "name": "alice", // logged display name
  "login_name":"alice@example.com", // logged username
  "aid": "123456789012****", //alicloud account id
  "uid": "123456789012****", //alicloud logged user id
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Goth's openidConnect provider and compare its expected userinfo fields with the Alibaba Cloud response shown in the issue and the linked OIDC document. Done means a dedicated Alibaba Cloud OAuth provider handles these fields and integrates with Goth's provider model.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.