ronwill06
Forum Replies Created
-
Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Supported redirect URIs for mobileWell, it doesn’t seem it’s failing. Instead, it logs me into the website instead of redirecting me to the app.
Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Supported redirect URIs for mobileWhat if I create a custom url scheme? For example, I have an app called Dogma Debate, and the url scheme is dogmadebate://. I’m also using the OAuthSwift library, but when I use dogmadebate:// as redirect uri it never redirects the user back to the app. Do you know what could possibly be the issue?
Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Login from iOS appNever mind. I got it working. Thanks a bunch.
Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Login from iOS appCurrently, I am running a POST method with this endpoint”http://my.server.com/?oauth=token”
with the client id and client secret as parameters, and the grant type is the password. My header is [“Authorization” : “basic”] When I do that I get back this header:NSHTTPURLResponse: 0x7fdb70ec0f00> { URL: http://my.servername.com/feed/?oauth=token } { status code: 200, headers {
Connection = “Keep-Alive”;
“Content-Type” = “application/rss+xml; charset=UTF-8”;
Date = “Wed, 10 Feb 2016 03:36:08 GMT”;
Etag = “\”432c60ef8667ecc6fe524b842eff1bd1\””;
“Keep-Alive” = “timeout=5, max=100”;
“Last-Modified” = “Sat, 06 Feb 2016 21:50:07 GMT”;
Link = “<http://login.dogmadebate.com/wp-json/>; rel=\”https://api.w.org/\””;
Server = Apache;
“Transfer-Encoding” = IdentityI’m not getting back JSON with the access token. Where am I going wrong?
Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Login from iOS appI also don’t want to be redirected to a WordPress login webpage.
Forum: Plugins
In reply to: [WP OAuth Server (OAuth Authentication)] Login from iOS appYes. I’m trying to use user credentials to verify a user has an account with our WordPress site. I see user credentials is the way to go. But do I use a POST method to verify the user or is it a GET request?
How should I format the URL, parameters, and header to check if a user has an account?