Giter Site home page Giter Site logo

ips4-oauth2-server's People

Contributors

jketelaar avatar johnnyking94 avatar wohali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ips4-oauth2-server's Issues

No redirect after login

I'm seeing the same issue as was reported in Issue #2

I get redirected to the login page successfully. But after logging in, the browser does not redirect back to my redirect URL. Is there any information I can provide that would help debug the issue?

No redirection after login.

It seems that if a user is not logged in, it redirects to the login correctly. Although, upon logging in, it does not redirect back to the oauth url for authorization.

Add support for new 2FA auth

"It it related to IPB's 2 Step Authentication. If a user has this enabled on their accounts then Oauth will not work properly after logging in. :)"

403 Forbidden error message when trying to authenticate

I am getting a 403 error when trying to authenticate.

I believe the 403 is returned when the login prompt is requested.
I have tried by already being logged into ips4 and without being logged in.
Both times the, login prompt returns 403.

When I redirect the user to request IPS4 access, this is the URL that is used (tokens and keys replaced with REMOVEDINGITHUB) http://www.anztac.com/applications/oauth2server/interface/oauth/authorize.php?state=REMOVEDINGITHUB&response_type=code&approval_prompt=auto&redirect_uri=http%3A%2F%2Fwikitest.anztac.com%2Findex.php%3Ftitle%3DSpecial%3AOAuth2Client%2Fcallback&client_id=REMOVEDINGITHUB

I am trying to get this working with a mediawiki wiki running MW-OAuth2Client

Any help or starting points would be greatly appreciated :D

Missing theme template

When we give the consent to authorize the Rocket.Chat app for the account, i see this page rendered in a wrong way... like it's not loading any themes or templates... i don't know if it is done on purpose, but i'd like to have our proper theme rendered for this page

authorization-page

Auth using http requests

Not so much an issue but a query - Is it possible to login and authenticate using just HTTP requests?
I'd like to avoid bundling a browser with a desktop app (it bloats the size significantly) just to display the login page. It would be much more convenient to just provide a native form with username/password and handle it manually in code.

Thanks.

Wrong urls

I tried to setup today the Rocket.Chat app, but i found out this error in your app. It seems you report a wrong url in the parameter list... in fact it's missing the oauth word... instead on your documentation, it's correct... just look the images to understand

How it looks like on ips4 app
app-ips

How you report in the doc
app-doc

Clearly it's missing that oauth part after interface word... can you fix it?

Add migration to IPS 4.3

The new 4.3 release supports a full-fledged OAuth2 server. It has more features and will be maintained by Invision, so there should be a way to migrate ips4-oauth2-server users to the native version.

I've tested ips4-oauth2-server with 4.3 and it seems to work, so it's not an urgent issue. However, if you don't tell me you're already on it I'll start working on a PR.

Unsupported scope when app login for first time

Hello! I'm facing a strange problem.

Well, I have enabled all scopes at Admin Panel / Community / OAuth2 Server / Applications / MyCustomApplication

But, my redirect URL is coming back like this:

error=invalid_scope&error_description=An+unsupported+scope+was+requested&state=yhhbmhykiyjujijobkaxoyimemyytromoetfqtumawjfjsgcynagnimqjdtramhp

This happens only after sign in on my app for the first time, if I close and reopen the app (that will do the authentication process again), since the login is successful, it will work flawless.

What's going on? Any tips?

Include ID in profile

Any particular reason you're not including the user ID in the returned profile data? I can use the email address, but when the user changes its email at the IPS site, there is no way to recognize the user and a new account will be the result.

Grant type was not specified in the request

Everything is fine in my client app. I'm doing a POST with the rights parameters as you can see (and I debugged on my app):

MyApp[]: PARMS {

"client_id" = FAKEFAKEFAKEFAKEFAKE;
"client_secret" = FAKEFAKEFAKEFAKEFAKEFAKEFAKEFAKE;
code = "AQC33aQPjpXwIJxovd1hOLIq-9HgYqrchH6Q4dYdCe5LW-38aQ_305sfnCDQz6Ykn5fLtvdfMAfjM3u7nfEaWOZTEZFpChmxfefYfKGrPvVdpuunfY9KMzwwfeVzeQn38J2LoFek9-GD9sHa2gJVCxREkmDUT4W8xBt27NjYHX5XgDbUCPTqk1NgW3lHQSxwJfRvpzeX8US2CaPSFygmfJgvwDJmHNSskt1v0_WjCYDFg0R82Nnla63CS5c86ODDOZctPSAtoCjK14GxJrRROVY5I24X_3JXBQzBv-CpTuRFI_yxKrErAGBP74_v9KZdQPE";
"grant_type" = "authorization_code";
"redirect_uri" = "https://mywebsite.com/OAuthCallBack.php";

}

but the IPB OAuth2 Server is giving me this weird behavior:

{"error":"invalid_request","error_description":"The grant type was not specified in the request"}

Updated and Getting Method error

Hello,

I updated to the latest version and I am getting this error:
The request method must be POST when requesting an access token

I am POSTing it, I am sure.

Any Idea?

Thanks!

Question

Hello,

Is there a way that I can return an information if the account is verified? Like, in our forum Users need to be approved by an Staff member, how can I return if the user has been approved?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.