Code Monkey home page Code Monkey logo

identityserver3's People

Contributors

brat000012001 avatar brockallen avatar cendter avatar chrissimmons avatar ciaranj avatar damianh avatar danielcrisp avatar danielhill avatar delryan avatar gerektoolhy avatar jageall avatar jerackista avatar johnkors avatar leastprivilege avatar loctanvo avatar mattt90 avatar mauricedb avatar mderriey avatar onatm avatar osmanmelsayed avatar pksorensen avatar pondidum avatar readmecritic avatar reecewilliams7 avatar rklachko avatar scottdlance avatar shabatint avatar szymongaertig avatar td49 avatar totpero 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  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  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  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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

identityserver3's Issues

Feature: Rebranding the UI

I really like the new embedded approach so thank you for that.
I did have a request to make it look and feel consistent with the other sites with which this will interface (enterprise apps).

I know this is still a young project but I'd like to hear your opinions about changes to the embedded HTML.

Thanks!

MultiTenancy

Hi,
First of all thanks for all the effort.

I haven't seen any support for different tenants within the same Membership provider. Are you planning on implementing this feature in the near future?

Question: When Idsrv 3 is done, is Authorization Server still needed?

Will Idsrv 3 get the full oauth2 spec and authorization server wont be needed ? Or is there still need for it?

What is the best extension points for following setup. Lets say I as a company has a few Apis. they all have scopes like read,write. I would like to use the same idsrv3 to do authentication and users only need one account to any of the 3 apis. But read and write scopes for api 1 should not give read and write scopes for api 2.

Would I change scopes to api1_read, api2_read ect or is it because something is not there yet, like the application/resource model.

Last small question. Its the Client Credentials flow that is used when a 3party guy signs up for one of the apis and get a token that his client can use to talk with the Api? Will you add UI for registering these clients and such in IdSrv or is it our own responsibility to create those ?

MVC OWIN client + access token

On the MVC OWIN sample client example, I was trying to get the access token back somehow through the Microsoft OpenIdConnect plugin. I tried altering the Response_Type to include 'token' as well as doing a full scope but that didn't work. Besides, I'm not clear if this is even possible or how the access token would be returned so I can store it for the web api calls.

Awesome work on Identity server v3 and identity manager btw!

How v3 compare to v2

Hi, both v2 and v3 support OAuth. Wondering when would use one or the other.

Thanks,

Poor Man's Delegation Actas with OpenIdConnectionAuthenticationModule and idSrv3

I'm currently determining a route forward for the identity provision piece of some software I'm responsible for, I had settled on IDSrv2 as an approach that would give me a great head-start on where I wanted to go (thank you.) Then you went and released IDsrv3 preview which shook my foundations somewhat

So i've set about re-implementing my PoC flows around the proposed future of id: the openid connect approach.

One thing that I was doing previously was http://www.cloudidentity.com/blog/2013/01/09/USING-THE-JWT-HANDLER-FOR-IMPLEMENTING-POOR-MAN-S-DELEGATION-ACTAS/ using the original JWT received from IDSrv2 to 'pass' tokens onto later Web API calls from within the application a user has performed a federated sign in onto.

From what I can see OpenIdConnectionAuthenticationModule does not support this notion of a 'bootstrap token.' And I can't find the scope that I've requested from idsrv3 ('read') appearing in any of the claims in the identity token that comes back.

Is such as flow meaningful in an openid connect world, or do I need to 'just' pass around the 'bearer' access token (which has no signature verification or notion of scopes/claims associated with it) to the delegated API calls ? Apologies as always if these questions are frankly dumb!

WebAPI for create user, login.

Hi,
I need to sign up and authenticate user through API, I need to get oauth token after authentication. So Apis for create user, login is helpful. Where can I found them?

Thanks.

Xamarin

Can I use IdentityServer.v3 with xamarin?
I want use httpClient portable class

An exception of type 'System.InvalidOperationException' occurred in System.Core.dll but was not handled in user code

Hi leastprivilege,

  • I have a problem when run Thinktecture.IdentityServer.v3, It through:

An exception of type 'System.InvalidOperationException' occurred in System.Core.dll but was not handled in user code
Additional information: Sequence contains no elements

At: Thinktecture.IdentityServer.TestServices.TestCoreSettings
_certificate = X509.LocalMachine.My.SubjectDistinguishedName.Find(certificateName, false).First();

Please, show me how to fix it.
Thanks and best regards,
TruongPS

HomeRealms - Per client restrictions?

Seems to be related to #39 but different enough to warrant a separate discussion :)

When talking about HR(Discovery/Selection), is it going to be possible to restrict the available home realms on a per-client basis?

I'm hoping to share the IdP across related user populations but for example don't want social logins to be available to internal users, only external users.

Associate external logins to local login

After watching all the videos listed on the WIki page, I have a question regarding following scenario:

The app requires local login exists so that users can be set up by a vendor and given proper claims. At the same time the would like to offer convenience of adding/relating external logins (Google, Twitter, Facebook) so that user (and the vendor who set up the user) do not have to manage the password. So to recap:

  1. vendor admin adds local user and sets up claims (and roles)
  2. vendor assigns initial password which user has to change on initial login
  3. user , after logging in and changing the password, can then associate any external logins with his/her account.

From what I have seen in the integration video, each external login by the same user (in this case Brock) generated a separate local account.

Alternative to this scenario would be giving user ability to register via custom app, which would then add necessary initial claims.

Toughts?
zam

Thinktecture.IdentityModel.Oidc project

Hello.

  1. I saw that this project is only used for the HttpModule. Personally I consider it would be great if this was the single project which a client or RP has to reference in order to integrate with an OpenID connect identity provider. I'm not sure about this, but it looks like there is not a lot of functionality used from Thinktecture.IdentityModel, (which could be duplicated here)

I'm speaking from the point of view of some developer of trying to convince some colleagues to use OpenID connect. A simple setup consisting in referencing a single dll would definitely mean an improvement.

  1. Is there any particular reason why this client is not used in the other samples (which use directly OAuthClient)?
  2. I would like if a the http module/open id connect client would support also a symmetric key type of signing. I'm almost sure that if I only mention the "x509" word, my "security proposition" would get ditched away. I'm not sure, but I believe I can implement this myself (extend the config section and ValidateIdentityToken method), but I wanted to ask for your opinion first. The server supports IdentityTokenSigningKeyType = SigningKeyTypes.ClientSecret after all (which by the way, doesn't work with "secret" as a client secret, but that's another issue...)

Thank you.

Changes to consent screen

  • show only scope name and descriptions - not individual claims
  • show user name and profile picture (if present)
  • make application logo smaller
  • remove weird behavior when resizing browser

(check the google consent screen - e.g. on my slides)

Implement scope model to support identity and resource scopes

brain dump:

possible scopes:

openid
response: code
return return code for id token, access token with scope: openid
response: id_token
return minimal id token
response: id_token token
return minimal id token, access token with scope: openid
response: token
error

openid profile
response: code
return return code for id token, access token with scope: openid profile
response: id_token
return id token with profile
response: id_token / post
return (== post) id token with profile
response: id_token token
return minimal id token, access token with scope: openid profile
response: token
error

openid profile resource
response: code
return return code for minimal id token, access token with scope: openid profile resource
response: id_token
error
response: id_token token
return minimal id token, access token with scope: openid profile resource
response: token
error

openid resource
response: code
return return code for minimal id token, access token with scope: openid resource
response: id_token
error
response: id_token token
return minimal id token, access token with scope: openid resource
response: token
error

resource
response: code
return return code for access token with scope: resource
response: id_token
error
response: id_token token
error
response: token
return access token with scope: resource

OAuth client credentials signing/encryption

Hello.
I have just run the client credentials sample, but it seems that there is no encryption or signing whatsoever for the token, since we have this line: Console.WriteLine(JObject.Parse(Encoding.UTF8.GetString(Base64Url.Decode(claims))));

I also noticed that whatever is sent on the http wire is the same with whatever I see on the string. So my conclusion is that there is no encryption and no signing.

I can see the token service is doing something like this:

    protected virtual string CreateJsonWebToken(Token token, SigningCredentials credentials)
    {
        var jwt = new JwtSecurityToken(
            token.Issuer,
            token.Audience,
            token.Claims,
            new Lifetime(DateTime.UtcNow, DateTime.UtcNow.AddSeconds(token.Lifetime)),
            credentials);

        var handler = new JwtSecurityTokenHandler();
        var ret = handler.WriteToken(jwt);
        return ret;
    }

but I'm not sure it takes into consideration the certificate which is wrapped in the credentials variable.

Am I doing something wrong?

Persistence Data stores

I am wondering if the current representation of the models are what you also are planing on using when making the persistent data stores.

I started to create a persistence azure tables data store (mostly for practice working with tables instead of Relational DB) and ran into some questions.

for AuthorizationCode and Token in ITokenHandleStore and IAuthorizationCodeStore. I was thinking just to serialize ClaimsPrincipal Subject and List Claims and put them in a storage table.

Have you given it any thought on how you will handle this in EF. Ofcause I can just wait and see what comes, but thats not fun :)

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.