Skip to content

[BFP-4065] pro sdk add client to jwt token#269

Merged
NidaKarim merged 5 commits intomainfrom
nida/bfp-4065-pro-sdk-add-client-to-jwt-token
Mar 11, 2026
Merged

[BFP-4065] pro sdk add client to jwt token#269
NidaKarim merged 5 commits intomainfrom
nida/bfp-4065-pro-sdk-add-client-to-jwt-token

Conversation

@NidaKarim
Copy link
Contributor

No description provided.

@NidaKarim NidaKarim requested review from a team, alawrenc and lucasfronza as code owners March 10, 2026 17:41
@nikita-seedlabs
Copy link
Contributor

we'd want to generate the clients for this as well

@NidaKarim NidaKarim changed the title Nida/bfp 4065 pro sdk add client to jwt token [BFP-4065] pro sdk add client to jwt token Mar 11, 2026
get:
tags:
- Auth
summary: /auth/zklogin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you keep the summary? for we need it on README.com

get:
tags:
- Auth
description: OpenID Connect Discovery endpoint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you help add the following for readme.com:

Suggested change
description: OpenID Connect Discovery endpoint
summary: /.well-known/openid-configuration
description: OpenID Connect Discovery endpoint

tags:
- Auth
summary: /auth/zklogin/zkp
summary: ZK Login Zero-Knowledge Proof Proxy Endpoint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
summary: ZK Login Zero-Knowledge Proof Proxy Endpoint
summary: /auth/zklogin/zkp

post:
tags:
- Auth
description: 'OAuth2 client_credentials grant for service accounts'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: 'OAuth2 client_credentials grant for service accounts'
summary: /auth/client-credentials
description: 'OAuth2 client_credentials grant for service accounts'

get:
tags:
- Auth
summary: "Internal use only for private launch; Will be removed when we go fully live"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to do something to hide it on README.com

Comment on lines +242 to +243
client:
$ref: './auth-api.yaml#/components/schemas/ClientType'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we hoist the schemas/ClientType over to common.yaml? so that all the services wouldn't need to depend on auth-api.yaml

components:
schemas:
# enums, please sort it in alphabetical order
ClientType:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Friendly reminder to backport the changes to the monorepo.

in: query
required: false
schema:
$ref: '#/components/schemas/ClientType'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we reference the ClientType from common.yaml?

Suggested change
$ref: '#/components/schemas/ClientType'
$ref: '"./common.yaml#/components/schemas/ClientType'

@NidaKarim NidaKarim merged commit 6162d54 into main Mar 11, 2026
6 checks passed
@NidaKarim NidaKarim deleted the nida/bfp-4065-pro-sdk-add-client-to-jwt-token branch March 11, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants