Coder Social home page Coder Social logo

Comments (8)

leastprivilege avatar leastprivilege commented on July 19, 2024

CORS is currently not implemented. In one of the next builds though...

from identityserver2.

vip32 avatar vip32 commented on July 19, 2024

i investigated the problem some more and it seems its happening client-side. the request doesn't even hit the server. i'm running the client from localhost (iisexpress). maybe that has something to do with the cors negotiation (not there).

from identityserver2.

brockallen avatar brockallen commented on July 19, 2024

This will require more configuration as well.

from identityserver2.

leastprivilege avatar leastprivilege commented on July 19, 2024

Yes, that's CORS. As I said this is not supported right now

from identityserver2.

brockallen avatar brockallen commented on July 19, 2024

I think we're eventually going to allow the OAuth implicit flow thus there's no need to allow CORS access to the OAuth token endpoint. If you really want this support then you can add the CORS configuration yourself with little effort. Here's a post on how to get started with that: http://brockallen.com/2012/06/28/cors-support-in-webapi-mvc-and-iis-with-thinktecture-identitymodel/

from identityserver2.

vip32 avatar vip32 commented on July 19, 2024

when will this implicit flow be available, any ideas?

from identityserver2.

leastprivilege avatar leastprivilege commented on July 19, 2024

It is available in the current bits.

from identityserver2.

vip32 avatar vip32 commented on July 19, 2024

correct, i made some implicit flow requests and it's working :) i also got CORS working (thanks Brock) in the idsrv, but implicit flow is much easier.

the only grant_type not working is 'client_credentials' (unsupported), but i can use 'passwords' for now.

from identityserver2.

Related Issues (20)

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.