Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Xamarin samples with a custom login #15

Open
mraible opened this issue Sep 11, 2020 · 9 comments
Open

Provide Xamarin samples with a custom login #15

mraible opened this issue Sep 11, 2020 · 9 comments

Comments

@mraible
Copy link

mraible commented Sep 11, 2020

Most of our SDKs have samples. For our mobile SDKs, we're trying to improve developer docs to explicitly state that it's unlikely you can embed the Sign-In Widget and you're better off building a custom UI. Here's a snippet of the docs I'm writing:

The good news is our mobile SDKs provide support for you to build your own UI.

- Android:
    - [Sign in with your own UI](https://github.com/okta/okta-oidc-android#Sign-in-with-your-own-UI)
    - [Custom Sign In Example](https://github.com/okta/samples-android/tree/master/custom-sign-in)
- iOS:
    - [Authenticate a User](https://github.com/okta/okta-auth-swift#authenticate-a-user)
    - [Okta iOS Custom Sign In Example](https://github.com/okta/samples-ios/tree/master/custom-sign-in)
- React Native
    - todo: https://github.com/okta/okta-react-native has no docs like Android does
    - [Okta React Native Custom Sign In Example](https://github.com/okta/samples-js-react-native/tree/master/custom-sign-in)
- Xamarin
	- todo: link to code section of Xamarin SDK README that shows code for custom UI
    - todo: link to custom sign in example

I need help with the last two items for Xamarin. Thanks!

@bryanapellanes-okta bryanapellanes-okta self-assigned this Sep 12, 2020
@bryanapellanes-okta
Copy link
Contributor

@mraible Thanks for your inquiry! The Xamarin Sdk should be considered in a very early alpha state and is under development to bring it to a 1.0 release. Because of this, the documentation you seek does not yet exist but will definitely be addressed as we make progress on the backlog.

@mraible
Copy link
Author

mraible commented Sep 13, 2020

Thanks, @bryanapellanes-okta. I'll note that in the developer docs. In the meantime, I noticed today we have some unfriendly comments on this post from 2018.

@mraible
Copy link
Author

mraible commented Sep 13, 2020

Interesting note: the comment from kennethone was originally:

There are so many typos in this code

IntentExtensions.cs needs to add to top

using OpenId.AppAuth;

private static readonly Uri ConfigurationEndpoint = Uri.Parse($"{Configuration.OrgUrl}/oauth2/default/.well-known/openid-configuration");

should be

private static readonly Android.Net.Uri ConfigurationEndpoint = Android.Net.Uri.Parse($"{Configuration.OrgUrl}/oauth2/default/.well-known/openid-configuration");

@brett-estabrook
Copy link

I have a use for this, so I was wondering how this is coming along. Even just some quick notes on how to do this with the xamarin sdk would be nice.

@bryanapellanes-okta
Copy link
Contributor

@brett-estabrook Thank you for reaching out! The Xamarin Sdk currently only supports OIDC redirect flow. There is work in progress to support a custom UI using the latest available Okta Apis, however, it is unclear when this work will be complete due to other internal priorities. Your interest is noted and should hopefully affect prioritization. Thanks again!

@jneterer
Copy link

jneterer commented May 4, 2022

Found this thread and wanted to call out the need for support to create a custom login experience using the Xamarin SDK. I also think it would be helpful if the README.md reflected that only the OIDC redirect flow is supported. Thank you!

@jphines57
Copy link

Hi @mraible @bryanapellanes-okta Any progress on new SDK functionality for custom login? The hosted login page is a great first steps but we need to customize how we implement Okta, similar to the flexibility of the Okta-Auth SDK but for Xamarin. Thanks!

@bryanapellanes-okta
Copy link
Contributor

@jphines57 @jneterer @brett-estabrook Thank you all for expressing interest in this! I will confer internally with our decision makers advising them of your interest. I hope to make your voices heard so as to influence priorities. Stay tuned!

@rdebault
Copy link

Matt, have you had any luck finding a solution for this? I am attempting to do the same now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants