Re: Facing jwt authentication problem using solr 8.1.1

2020-01-03 Thread Jan Høydahl
As I said, I don’t think you will be successful with a public OAuth provider like google or GitHub. I know little about how or whether they issue access tokens at all. I think they just deal with ID tokens? Jan > 3. jan. 2020 kl. 08:07 skrev lakshgupta29 : > > Hi Jan, > > I've used Auth2.0

Re: Facing jwt authentication problem using solr 8.1.1

2020-01-03 Thread lakshgupta29
Hi Jan, I've used Auth2.0 provider for admin UI Dashboard authentication. I've passed IdP endpoint and client id as per the provider details. It's logging in my dashboard successfully, not able to authenticate API, getting below exception. o.a.s.s.SolrLogAuditLoggerPlugin type="REJECTED"

Re: Facing jwt authentication problem using solr 8.1.1

2020-01-02 Thread Jan Høydahl
Don’t think so - you need to register Solr as a client with your IdP according to the docs. Jan > 2. jan. 2020 kl. 13:01 skrev lakshgupta29 : > > Can i use GitHub Provider authentication for admin UI support. > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Facing jwt authentication problem using solr 8.1.1

2020-01-02 Thread lakshgupta29
Can i use GitHub Provider authentication for admin UI support. -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-30 Thread Jan Høydahl
Hi Explaining what OpenID or Idenity servers are is a bit outside the scope here :) Encourage you to read up on the subject[1] and try out one of the free IdP providers online[2] to test things out, then decide whether you want to install your own IdP in-house. [1]

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-30 Thread lakshgupta29
Currently, I am seeing the below image Jan, Could you please provide steps to create own IdP server or any reference on the internet. I'd really appreciate that. Thanks! -- Sent from:

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-29 Thread Jan Høydahl
There is support for OpenID connect login from Admin. Just point it to your IDP’s endpoint and Solr will redirect you to your IdP for logging in. The IdP will pass the JWT token to your browser. If you manually generate your JWT tokens and do not have an IdP server it’s not that easy. What do

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-29 Thread lakshgupta29
Thanks for your quick response. Is there any way to secure my Admin UI Dashboard as well as API's using JWT token machanism. Thanks -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-29 Thread lakshgupta29
Hi Jan, Thanks for your quick response. The above issue has resolved now API's are secured with JWT token with set authorized permissions. Unfortunately , I'm stuck in solr admin UI dashboard. My API's are secured by using JWT authentication, When i'm trying to access admin dashboard few

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-20 Thread Jason Gerlowski
Oh, ok. >From the user's error message it looked to me like bin/solr was making an admin/info/system call from bash, but it must be something else. On Fri, Dec 20, 2019 at 6:28 AM Jan Høydahl wrote: > > No, I doubt that bin/solr support would do more than just wire in a simple > initial JWT

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-20 Thread Jan Høydahl
No, I doubt that bin/solr support would do more than just wire in a simple initial JWT config, with some default Rule-based config. Jan > 17. des. 2019 kl. 16:42 skrev Jason Gerlowski : > > Hey Jan, > > Is this a case of something that'd be fixed by >

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-17 Thread Jason Gerlowski
Hey Jan, Is this a case of something that'd be fixed by https://issues.apache.org/jira/browse/SOLR-13071 ? Just wondering Best, Jason On Thu, Dec 12, 2019 at 5:43 PM Jan Høydahl wrote: > > Try something like this > https://gist.github.com/b330e1bea7842bcdc1e5fa3940b4a4f7 >

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-12 Thread Jan Høydahl
Try something like this https://gist.github.com/b330e1bea7842bcdc1e5fa3940b4a4f7 The trick is to «whitelist» certain paths that will not require auth, but then further down add rules to block all other paths either as admin role or

Facing jwt authentication problem using solr 8.1.1

2019-12-12 Thread Lakhan Gupta
Hi, Using solr 8.1.1 version and facing problem while enabling jwt authentication in solr. Jwt authentication is working fine after configuring security.json file. Below is the configuration I am using for enabling jwt authentication. Security.json { "authentication":{