microsoft-authentication-library-for-go icon indicating copy to clipboard operation
microsoft-authentication-library-for-go copied to clipboard

The authorization code flow example doesn't work

Open karelbilek opened this issue 3 years ago • 2 comments

I have no idea what to do with this code

https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/9a63cc219c3822f23f3a54c62c1261b729a50536/apps/tests/devapps/authorization_code_sample.go#L37

The functions mentioned there don't exist.

DefaultPublicClientApplicationOptions is not present in the code, except in the commented-out example...

karelbilek avatar Apr 12 '23 17:04 karelbilek

I love this comment here

https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/9a63cc219c3822f23f3a54c62c1261b729a50536/apps/tests/devapps/confidential_auth_code_sample.go#L13

It's lovely that even you admit that your APIs are too confusing to use :P

karelbilek avatar Apr 12 '23 17:04 karelbilek

But I see there is already #293

karelbilek avatar Apr 12 '23 17:04 karelbilek