Skip to content

Commit d339973

Browse files
committed
Testing client configuration
1 parent 4c7a578 commit d339973

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

samples/AuthorizationExample/Program.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ public static async Task Main(string[] args)
2727
AuthorizationOptions = new McpAuthorizationOptions
2828
{
2929
// Pre-registered client credentials (if applicable)
30-
ClientId = "my-registered-client-id",
31-
ClientSecret = "optional-client-secret",
32-
30+
ClientId = "04f79824-ab56-4511-a7cb-d7deaea92dc0",
31+
32+
// Setting some pre-defined scopes the client requests.
33+
Scopes = ["User.Read"],
34+
3335
// Specify the exact same redirect URIs that are registered with the OAuth server
3436
RedirectUris = new[]
3537
{

0 commit comments

Comments
 (0)