Search results for

file uri scheme

78,483 results found

Post

Replies

Boosts

Views

Activity

IOS Invalid Redirect URI
I'm trying to implement Apple oauth using rest-social-auth Python library and when I try to open the link it raises the following error: invalid_request Invalid web redirect url., although I set the redirect URI on Apple project configuration.
0
0
422
Sep ’21
invalid redirect uri on authorizing
Hello, I am going to make users sign in with apple on my website. This account is my personal account and the real client_id of my company's service is com.ymsco.jangjeon The site url is https://jangjeonhae.bubbleapps.io/ and my redirect uri is https://jangjeonhae.bubbleapps.io/login I have a problem to show the window for sign in with apple. I'm using this https://appleid.apple.com/auth/authorize?response_mode=form_post&response_type=code&client_id=com.ymsco.jangjeon&scope=name%20email&state=[thestate]&redirect_uri=http://jangjeonhae.bubbleapps.io/login/ I got the error invalid request_ invalid redirect uri Is there any problem on the link address? Please let me know how to solve the problem.
0
0
1.4k
Sep ’22
Universal link for Oauth redirect uri
We are attempting to update our Oauth sign in process to use SFSafariViewController. For security purposes, we want to avoid using a custom url scheme for the redirect uri. We have seen others recommend using Universal Links instead, but we are having trouble getting it to work.Assume that our website is https://test.example.comAfter configuring all the necessary items, our Universal Links partially work. Tapping directly on https://test.example.com/something within an email or on a web page will open our app. For some reason, a redirect to that URL does not cause the URL to open in our app. Since Oauth utilizes redirection to a known redirect URI (which we have configured as a universal link), our Oauth process is not working.Here's what we have done:We have changed the redirect URI value for our oauth client to point to one of our web servers. Let's pretend that it is this: https://test.example.com/somethingWe have added the associated domains entitlement to our app and i
Topic: UI Frameworks SubTopic: UIKit Tags:
6
0
9.7k
Mar ’16
Dynamic parameters in redirect URI querystring
In our website, we may have some dynamic parameters in the querystring, which we need to be persisted after the user logs in with Sign In with Apple, but we get an invalid_redirect_uri error every time.Is there any way we can setup that the allowed redirect URI might have some parameters in the querystring?I think that SIWA should check only the beginning of the URI, and if it matches, and it finds some parameters in the querystring, just pass them along to the redirect URI upon login.Any help? Thanks!
1
0
2.7k
Apr ’20
Reply to How does one read/parse the NDEF Message from CoreNFC?
hi dberroa,you have to parse your NDEF paylaod accordingly. I have done the following, and it works fine (I don't handle here every scheme for URI) :But take care that URI NDEF is not native into iOS. Once extracted URI, you have to call your browser with URIhoe it helps let dataPayloadRecordHex = nfcTag.payload.toHexString() let dataPayloadRecord = String(data: nfcTag.payload,encoding:.utf8) let dataTypeRecord = String(data: nfcTag.type,encoding:.utf8) let dataIdentifierRecord = String(data: nfcTag.identifier,encoding:.utf8) var messageString = switch (nfcTag.typeNameFormat){ case .nfcWellKnown: / if (nfcTag.type.hashValue == 0x55){ / let schemeURI = nfcTag.payload[0] switch schemeURI { case 0: uriSchemeString = break case 1: uriSchemeString=http:/ break case 2: uriSchemeString=https:/ break default: uriSchemeString=http:/ } messageString.append(URI = +uriSchemeString+dataPayloadRecord!+n)
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17
Reply to Custom URL names
My app can get request either from web app or native app via universal. If I get a string(will be used to call the source app) from another app or from the server, I should be able to figure out whether its a URL scheme URI or web URL. Is there any convenient method available or any regex will help to validate?
Topic: Programming Languages SubTopic: General Tags:
Oct ’19
Sign in with Apple - Multiple Redirect URIs
Hi all, I have the Sign in with Apple capability within my web application. To make it work, I've got the redirect URI defined in the Apple developer console. Now, for development environments, I'm required to define new redirect URIs every time. For example, I have feature123.company.com, and the Apple sign in won't work until I define this URI in the Apple dev console. I want to solve this by having a constant URI configured, say apple.company.com, and then have a proxy on that address, that will redirect any incoming traffic to the appropriate URL (based on the state param). I implemented the same with Google and Facebook logins, but for some reason I can't get the Apple login to work. After I login to Apple in the pop-up, and click the Continue blue button, I see an authorize request with 200 response, but the pop-up doesn't close as expected. The view remains and the Continue button is still available, clicking it again sends another authorize request but this time it
0
0
1.3k
Jun ’22
Missing redirection to a valid redirect URI
I've followed the instructions on the Developer Account Help pages: Configure Sign in with Apple for the web and Create a Sign in with Apple private key. I'm at the point where I no longer see the Invalid redirect_uri error, which makes me think the redirect uri is now correctly configured. However, after clicking on the Sign in button, then authorizing the app to get my Apple Id credentials, nothing happens. I'm not redirected anywhere. I check the server logs - there's no sign of any incoming HTTP request to the redirect uri. How do I even debug this problem? I've been testing with Safari on an IPad. I've identified one possible problem: the domain has not been verified. I haven't downloaded any verification file and uploaded it on the server. I haven't been able to see any download link either, or any other way around it. The private key has also been unused but it's irrelevant to the problem as the request doesn't ever arrive at the server.
2
0
835
Jun ’20
HTML Download Attribute using data URI
Clicking an anchor tag using a download attribute and data uri as the href doesn't trigger a download in a webextension bundled html page. Rather it opens a new tab and navigates to the data uri. This is the not the same behaviour users experience on the web nor the same behaviour as a Safari App Extension bundled html page. Is this intentional? Is this a shortcoming of the WebExtension API? Is there any way around this? Any guidance would be appreciated.
1
0
1.7k
Aug ’21
Reply to id3 tags within 4k hevc encoded m4f?
HEVC must be carried in fMP4 containers (for Apple platforms). The only supported way to carry ID3 timed metadata in fMP4 containers is in an emsg box. You can find a draft of the spec for that here:https://aomediacodec.github.io/av1-id3/but note that current Apple clients require the scheme URI to be https://developer.apple.com/streaming/emsg-id3
Topic: Media Technologies SubTopic: Streaming Tags:
Jul ’19
IOS Tutorial: "Active scheme does not build this file" bug
I am doing the Creating a card view part of the ios development tutorials and for some reason I have this weird bug with previewing files. When I click on any swiftUI files I have the error Active scheme does not build this file, but then when I physically move the file to a different folder, or just somewhere else in general, the preview screen will reload and then display the preview with live updates. This will then go away when I click on a different file and come back, but can be fixed by physically moving the file around again. This issue is blowing my mind as I've spent a couple hours just trying to add a new scheme which still does not work. I would be so grateful for any answers
0
0
577
Feb ’24
OAuth using ASWebAuthenticationSession, redirect URI
Hello, My app uses OAuth to connect to two services. To get the authorization ocde, originally, they both allowed a URI in the form of com.SmartVentsTwo://auth. Now, the second one changed and requires that the URI be a complete URL starting with HTTPS. Needless to say the second stopped working. I read several different articles and posts about this difference telling me a range of things to do from simply adding https://com.SSmarVentsTwo://auth to the URL types in the project settings, to creating a redirect from my website. It would seem the most secure would be the former since it doesn't require extra jumps, but it didn't work. When I tried it, after logging in and authorizing the request, i got a could not find server error. What are the exact steps I need to follow to accommodate the change? (Thank you very much!!)
7
0
2.5k
Apr ’24
Using file:// scheme to access local files on SafariForWebKitDevelopment
I am currently utilizing local servers to facilitate interactions with local resources. However, I am exploring if there are solutions that would enable direct file access through the file:// protocol. I cannot access the developer tools and feature flags. Specifically, the option Show features for web developers seems to be deactivated. This is happening within the ASan WebKit build. I am running this using Tools/Scripts/run-safari. Any insights or potential solutions to these issues would be greatly appreciated.
2
0
788
Jul ’23
Reply to NSURL Response Status Meaning
The server is using HSTS, a reinforced securityHTTP Strict Transport Security (HSTS) is an opt-in security enhancement that is specified by a web application through the use of a special response header. Once a supported browser receives this header that browser will prevent any communications from being sent over HTTP to the specified domain and will instead send all communications over HTTPSIt seems (search result) that you can call HSTS sites, but I've not found examples on how to do it with Swift App.May be the RFC will give you some hints ?h ttps://tools.ietf.org/html/rfc6797I found this :8.3. URI Loading and Port Mappingthere are requirements on port in the URL: (point 5)The UA MUST replace the URI scheme with https [RFC2818], and if the URI contains an explicit port component of 80, then the UA MUST convert the port component to be 443, or if the URI contains an explicit port component that is not equal to 80, the port component value MUST be preserved; othe
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’17