# Pkce with asp.net core 2 web api and xamarin android app

**URL:** <https://devforum.okta.com/t/pkce-with-asp-net-core-2-web-api-and-xamarin-android-app/1244>\
**Category:** OAuth/OIDC\
**Created:** [February 14, 2018, 7:57pm UTC](https://devforum.okta.com/t/pkce-with-asp-net-core-2-web-api-and-xamarin-android-app/1244 "2018-02-14T19:57:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tom](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/tom/32/24_2.png) [@tom](https://devforum.okta.com/u/tom)\
**Post date:** [February 14, 2018, 8:45pm UTC](https://devforum.okta.com/t/pkce-with-asp-net-core-2-web-api-and-xamarin-android-app/1244/2 "2018-02-14T20:45:44Z")

</div>

We don’t have a sample/quickstarts for xamarin quite yet.

We had a similar question here:

> [@SSO in Xamarin Cross Platform mobile app](https://devforum.okta.com/t/sso-in-xamarin-cross-platform-mobile-app/1073):
>
> Hi, I’m relatively new to OAuth and OKTA. I have created a Xamarin ios/android app and would like to use okta for authentication and to get user info. Looking for some direction and/or sample code. Thus far I haven’t had any success. Thanks.

Which illustrates using the OpenID connect / OAuth 2.0 pieces from xamarin. Does that help?

We have documentation on the calls to the token endpoint here: [Implement authorization by grant type | Okta Developer](https://developer.okta.com/authentication-guide/implementing-authentication/auth-code-pkce)

Also, our postman collection does show how to validate this with Postman (with interceptor):  
[https://app.getpostman.com/run-collection/4adca9a35eab5716d9f6](https://app.getpostman.com/run-collection/4adca9a35eab5716d9f6)

---

_[View the full topic](https://devforum.okta.com/t/pkce-with-asp-net-core-2-web-api-and-xamarin-android-app/1244)._
