John
John

Reputation: 2163

Is safe to have a client id without secret to use in web apps?

The only way that I found to not expose client secret on Front end was to create a client id without secret.

Is safe to have a client id without secret to use in web apps?

Upvotes: 0

Views: 393

Answers (1)

Gary Archer
Gary Archer

Reputation: 29243

You use the Authorization Code Flow (PKCE) which generates a secret at runtime. There is no need to configure a secret in the Authorization Server - you just set a client id.

See these resources of mine for more info:

Upvotes: 1

Related Questions