Repository navigation
Conversation
…ed identity Move shape-identity-native-app into BundleDocFeatures and drop the hosted refusal in validateApplication: a hosted native app needs both redirect_uris and logout_uris resolved, never http. LimitShape still withholds native apps from a reader that lacks the feature, with the existing notice. The callback derivation helpers move to pkg/release so devidentity and the hosted bundle build share them.
The rn-frontend derivation no longer looks at the identity runtime, and native_sign_in = False still opts out. Hosted keeps refusing http callbacks. Fixtures flip from negative to positive for hosted native.
… build forge env shape/build/deploy fill a hosted native app's redirect_uris and logout_uris from expo.scheme (nativeAppSchemes); declared values win and an app with no usable scheme is not sent, with a warning. forge cloud identity status reads the native fields behind absent-field checks.
…ce no longer fails the pass
Respect existing same-package row and request factory functions, including in-package tests, without treating prior generated output as ownership. Reject other declaration conflicts explicitly before writing output. Emit owner option helpers for failed owner-aware factories and omit the unused ULID import for failure-only row factories. Preserve signatures and schema failure diagnostics. Reproduce report a640ad4c with isolated schema and handler fixtures plus generated-output type checks.
Contributor
|
This draft is 3 days old. Drafts are never reviewed: mark it ready for review when it is done (it then enters the review queue by itself), or close it. Posted by Reliant for PR pipeline · pr-sweep · hourly, an automation of @reliant-01. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1887 (mobile foundation integration). It stays a draft and folds into #1887. It does not merge into
mainon its own.What it does
Hosted identity (staging and prod) can now register native (mobile) sign-in clients. Before this change, forge refused them.
shape-identity-native-appis now inBundleDocFeatures().LimitShapewithholds native apps from it and prints a notice.NativeAppNotOnHostedMessageand the KCL refusal are gone. Hosted identity requires resolved redirect and logout URIs and refuseshttp.app.jsonwhen the shape is built (env shape,build,deploy). Owner decision: forge derives them, and the control plane derives nothing.redirect_uriswin and keep their order. Omittedlogout_urisbecome…/signedoutbeside each redirect.https(universal-link) seam ishostedNativeRedirects.rnfrontends on any identity runtime.native_sign_in = Falseopts out.forge cloud identity status: reads the native app's outputs fromGetIdentityStatus(kind,redirect_uris,post_logout_uris,scopes). Every read is behind an absent-field check, so an old control plane is fine.deploy/managed-identity/mobileskill, themanaged-identityskill, thev1.4.0/native-authplaybook and the proposals.Shape sent for a hosted native app:
{"name":"prod:mobile","workload":"","kind":"native","frontend":"mobile", "redirect_uris":["com.acme.mobile:/oauthredirect"],"logout_uris":["com.acme.mobile:/signedout"]}Counterpart
A control-plane draft PR (linked once open) maps
kind = "native"to a public PKCE app and adds the store kind, thefrontendcolumn and theGetIdentityStatusfields. It also adds a guard test, so a forge bump can never make the control plane advertise a feature it doesn't implement.Validation
go build,go vetandgofmtare clean.apigatereports 19 compatible changes.task test:shortpasses.Not done