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

[New] Authenticate with OAuth #126

Merged
merged 9 commits into from
Mar 21, 2023
Merged

[New] Authenticate with OAuth #126

merged 9 commits into from
Mar 21, 2023

Conversation

njarecha
Copy link
Contributor

@njarecha njarecha commented Mar 16, 2023

Description

This PR implements Authenticate with OAuth in Cloud and portal category.
URL to README: README

Linked Issue(s)

  • serenity/issues/1406

How To Test

  1. Starting the sample will prompt for OAuth.
  2. Provide any valid ArcGIS.com credentials.

Screenshots

Login Web map
authenticate-with-oauth1 authenticate-with-oauth2

@njarecha njarecha self-assigned this Mar 16, 2023
Copy link
Contributor

@vquach2404 vquach2404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great so far!

njarecha and others added 2 commits March 17, 2023 12:50
Co-authored-by: Vivian Quach <viv10382@esri.com>
@yo1995 yo1995 changed the title [New] authenticate with OAuth [New] Authenticate with OAuth Mar 17, 2023
Copy link
Collaborator

@yo1995 yo1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I click on cancel when the login alert shows, it gives this warning
I don't think it matters, might just be a false alarm from UIKit.

2023-03-17 16:06:08.477191-0700 Samples[2855:10999341] 
[Warning] Attempting to load the view of a view controller while it is deallocating is not allowed 
and may result in undefined behavior (<SFAuthenticationViewController: 0x7fb94a09b200>)

@njarecha njarecha requested a review from yo1995 March 20, 2023 21:13
Copy link
Collaborator

@yo1995 yo1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will approve after Esri/arcgis-maps-sdk-swift-toolkit#276 is merged.

@njarecha njarecha requested a review from yo1995 March 21, 2023 18:00
Copy link
Contributor

@vquach2404 vquach2404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested. Looks good!

@njarecha
Copy link
Contributor Author

Thanks @yo1995 and @vquach2404!

@njarecha njarecha merged commit fb9e6b8 into v.next Mar 21, 2023
@njarecha njarecha deleted the njarecha/oauth-sample branch March 21, 2023 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants